CertNote/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
DOP-C02 · ProfessionalDevOps Engineer - Professional
Linux Master 2 · 2급KAIT Linux Master - Level 2
SCS-C03 · SpecialtySecurity - Specialty
Linux Master 1 · 1급KAIT Linux Master - Level 1
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
  • Week 1
    • 1.The Relationship and Differences Between AI, Machine Learning, and Deep Learning
    • 2.Learning Types: Supervised, Unsupervised, and Reinforcement Learning
    • 3.Problems Where ML Fits vs. Problems Where It Doesn't
    • 4.Key Terms: Model, Training, Inference, Feature, Label, Overfitting
    • 5.Week 1 Review: AI/ML Fundamentals
  • Week 2
  • Week 3
  • Week 4
  • Week 5
  • Week 6
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
SQLD · 개발자SQL Developer (SQLD)

© CertNote · 주간랩스

  • About
  • Changelog
  • Contact
  • Terms
  • Privacy
← AIF-C01/Week 1/Day 5

Based on the AIF-C01 exam guide·Report an error

AIF-C01· AssociateWeek 1 · Day 5~24 min read

Day 5 - Week 1 Review: AI/ML Fundamentals

📌 Key Takeaways

  • Day 1: AI ⊃ machine learning ⊃ deep learning. All deep learning is ML, but not all AI is ML.
  • Day 2: Learning types split by whether answers exist and whether rewards exist into supervised (classification/regression), unsupervised (clustering/dimensionality reduction), and reinforcement.
  • Day 3: Traditional programming is data + rules → results, and ML is data + results → rules. ML fits when the rules are complex and there is enough data.
  • Day 4: You train on features + labels to build a model, predict through inference, and check for overfitting with test data.
  • Traps that are easy to confuse on the exam: classification vs. regression (category/number), classification vs. clustering (whether labels exist), and overfitting (= memorization, not a lack of learning).

This Week's Flow

Review is not memorization but a time to redraw how the concepts connect.

[Day1] The AI > ML > DL relationship
   ↓
[Day2] Learning types in ML (supervised, unsupervised, reinforcement)
   ↓
[Day3] Problems where ML fits vs. problems where it doesn't
   ↓
[Day4] Key terms (model, training, inference, feature, label, overfitting)

Day 1 Review: The Relationship Among AI, ML, and DL

  • AI ⊃ machine learning ⊃ deep learning
  • AI: any technology that imitates intelligent behavior (including rule-based)
  • Machine learning: a method of learning rules from data
  • Deep learning: a type of machine learning that stacks neural networks deeply
  • A system where a person wrote the rules directly may be AI, but it is not machine learning.

Day 2 Review: Learning Types

Learning typeAnswer (label)Representative tasks
Supervised learningPresentClassification (category), regression (number)
Unsupervised learningAbsentClustering, dimensionality reduction
Reinforcement learningReplaced by a rewardGames, robots, control

Let us sort out the two pairs that are often confused once more.

  • Classification vs. regression: if the output is a category, it is classification; if a number, regression.
  • Classification vs. clustering: if there are answer labels, it is classification; if not, clustering.

Day 3 Review: Problems Where ML Fits

  • Traditional programming: data + rules → results
  • Machine learning: data + results → rules
ML is a good fitML is a poor fit
The rules are complex or hard to defineThe rules are simple and clear
There is enough dataThere is almost no data
A small margin of error is acceptable100% accuracy and a complete explanation are mandatory
  • Choosing the simplest method that is still sufficient is good design.

Day 4 Review: Key Terms

Features + labels [training data]
   ↓ Training
[Model] completed
   ↓ Inference
New input (features) → predicted label
   ↓
Evaluate with [test data] → check for overfitting/underfitting
  • Model: a bundle of learned rules
  • Training vs. inference: the process of building a model vs. the process of predicting with the built model
  • Feature vs. label: the input information vs. the correct answer to predict
  • Overfitting vs. underfitting: a state of having memorized only the training data vs. a state of insufficient learning

This week's content is the foundation of the "AI/ML fundamentals" domain of the AIF-C01 exam. Only if you understand this flow clearly can you follow later advanced topics such as generative AI and AWS AI services without strain.

Summary of Frequently Missed Traps

TrapCorrect understanding
"Deep learning is the biggest concept"AI is the biggest. Deep learning is the smallest
"Classification and regression are the same"Classification = category, regression = number
"Classification and clustering are the same"They differ in whether answer labels exist
"Machine learning is always better"For simple problems, the traditional approach is better
"It's fine to evaluate with the training data"You must evaluate with test data to be honest
"Overfitting = insufficient training"Overfitting is rather a state of having memorized too much

The Order for Reading a Question: Ask Four Times and the Answer Is Left

The four days of content scatter if memorized separately, but when strung together in the order of questions, they become a single procedure for telling cases apart.

① Who created the rules?
   ├─ A person wrote the conditions directly ────► Rule-based (may be AI, but not ML)
   └─ Learned from data ─────────────────────────► Machine learning (go to ②)
                                                    └ If many layers of neural networks, deep learning

② What did it learn from?
   ├─ Data with answers (labels) attached ───────► Supervised learning (go to ③)
   ├─ Data without answers ──────────────────────► Unsupervised learning (clustering, dimensionality reduction, anomaly detection)
   └─ Rewards received as a result of actions ───► Reinforcement learning

③ What shape is the answer to be predicted?
   ├─ One of a fixed set of kinds ───────────────► Classification
   └─ A number whose magnitude has meaning ──────► Regression

④ When performance comes up, look at the two scores
   ├─ Training is low and test is low ───────────► Underfitting
   ├─ Only training is high and test drops sharply ► Overfitting
   └─ Both are high and the gap is small ────────► Generalizes well
  • There is one more question that comes before ①: "Is ML needed in the first place?" (Day 3). If the rule is one line, a fixed outcome is needed, or there is no data, there is no reason to enter ①.
  • Do not mix up ② and ③. If you pick classification just from seeing "divide into groups," you will be wrong. You must first check in ② whether labels exist to separate classification from clustering.

Tying Four Days Together with One Case

An online bookstore says, "We want to find out in advance which orders will be returned." This one sentence touches everything from this week.

StepWhat happens at the bookstoreConcept involved
Judging necessityA policy like "no returns under 30,000 KRW" is fine as code. But "which orders will be returned" cannot be written as rules, and there are hundreds of thousands of past order recordsDay 3: conditions where ML fits
Technology levelIt is tabular data such as order amount, delivery region, and purchase history. Deep learning is not necessarily neededDay 1: distinguishing ML from deep learning
Learning typeEach past order has a "returned / not returned" record → supervised learning, and the answer is two categories → classificationDay 2: whether labels exist, category/number
Data compositionOrder amount, region, and history are the features, and whether it was returned is the labelDay 4: features and labels
Building the modelTrain on part of the records and score on the test data set aside. If training is 98% and test is 71%, it is overfittingDay 4: data splitting, overfitting
ServiceTo learn the return likelihood immediately whenever an order comes in, use real-time inference; to check the day's orders in bulk every night, use batch inferenceDay 4: training and inference, inference methods
  • Change the question slightly and the answer changes. "How much will the return amount be" → regression. "Let's split customers into types without return records" → clustering. "Let's learn which coupon to show for each order by watching the response" → reinforcement learning.

Comprehensive Identification Table

ScenarioAnswerWhere it was learned
A comment-blocking feature where an administrator typed in a list of banned wordsRule-based. Not machine learningDay 1
A diagnostic aid trained on tens of thousands of X-ray images and their reading resultsDeep learning, supervised learning (classification)Day 1, 2
Enter a sentence and it writes a draft of ad copyGenerative AIDay 1
Predicting parcel volume as a number by regionSupervised learning (regression)Day 2
Finding unusual access in access logs with no labelsUnsupervised learning (anomaly detection)Day 2
A game character learns on its own the moves that raise its scoreReinforcement learningDay 2
Calculating 10% VATTraditional programmingDay 3
A screening score whose basis must be explained to a regulatorExplainable traditional ML (or rules)Day 3
Preparing a recommendation list for all members every dawn in advanceBatch inferenceDay 4
Training 60% / test 58%Underfitting (high bias)Day 4

Commonly Confused Pairs, Told Apart by the Words in the Question

PairWords pointing to the firstWords pointing to the second
Rule-based vs. machine learning"define conditions," "if-then""learn from past data," "patterns"
Machine learning vs. deep learning"tabular data," "features chosen by people""many layers of neural networks," "raw images and audio"
Classification vs. regression"whether," "kind," "grade""how much," "how many," "how many degrees"
Classification vs. clustering"labeled," "with past outcomes""without labels," "similar ones together"
Training vs. inference"build the model," "takes a long time""new input," "prediction," "response time"
Algorithm vs. model"learning method," "procedure""learned product," "deploy"
Validation vs. test"adjust during training," "choose settings""final evaluation," "only once"
Overfitting vs. underfitting"only training is high," "gap," "memorized""both low," "too simple"
Real-time vs. batch inference"immediate," "low latency""bulk," "periodic," "overnight"

Next week, building on these fundamentals, we will cover the ML lifecycle (collect → prepare → train → evaluate → deploy → monitor), data, evaluation metrics, and the role of people.

📖 Glossary

  • AI ⊃ ML ⊃ DL: A notation for the containment relationship: "machine learning is inside AI, and deep learning is inside machine learning."
  • Supervised learning: A method that has the model learn by giving it problems together with answers.
  • Unsupervised learning: A method that gives only data without answers and has the model find hidden structure on its own.
  • Reinforcement learning: A method that gives rewards and penalties and has the model learn how to act through trial and error.
  • Classification vs. regression: If the answer is a "kind," it is classification; if the answer is a "number," it is regression.
  • Clustering: The task of automatically grouping similar data without answers.
  • Feature vs. label: The input information fed in for prediction is the feature, and the correct answer to predict is the label.
  • Inference: The stage of feeding a new input to the finished model to get an answer.
  • Overfitting: A state of having memorized the training data whole and being weak on new data.
  • Generalization: The property of getting data not seen in training right. The model's ultimate goal.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

Which statement about the relationship between AI, machine learning, and deep learning and about learning types is correct?

Question 2

"Automatically grouping customer data into similar tendencies without answers" and "predicting tomorrow's temperature as a number" are, respectively, which tasks?

Question 3

In a certain business task, the rules are very simple and clear ("amount × fixed tax rate"), and the results must always be 100% accurate. Which judgment is most appropriate?

Question 4

A trained model is nearly perfect on the training data but its performance drops sharply on new data. You are also asked for the definitions of feature and label. Which statement is correct?

Question 5

Putting together what was learned this week, which is the most appropriate judgment for using machine learning well?

PreviousKey Terms: Model, Training, Inference, Feature, Label, OverfittingWeek 1 · Day 4Next ML Lifecycle Overview: One Full Cycle from Data to OperationsWeek 2 · Day 1

Official references

  • AIF-C01 official exam page(opens in a new tab)

On this page

  • Key Takeaways
  • This Week's Flow
  • Day 1 Review: The Relationship Among AI, ML, and DL
  • Day 2 Review: Learning Types
  • Day 3 Review: Problems Where ML Fits
  • Day 4 Review: Key Terms
  • Summary of Frequently Missed Traps
  • The Order for Reading a Question: Ask Four Times and the Answer Is Left
  • Tying Four Days Together with One Case
  • Comprehensive Identification Table
  • Commonly Confused Pairs, Told Apart by the Words in the Question
  • Glossary
  • Practice Questions