Cert Notes/ 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
SCS-C03 · SpecialtySecurity - Specialty
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 Wrap-Up: AI/ML Fundamentals Review
  • Week 2
    • 1.ML Lifecycle Overview: One Complete Cycle from Data to Operations
    • 2.Data: Structured vs Unstructured, Data Splitting, and the Power of Quality
    • 3.Model Evaluation Basics: Accuracy, Precision, Recall, and Overfitting/Underfitting
    • 4.The Human Role in ML Development: Labeling, Feedback, and Iterative Improvement
    • 5.Week 2 Summary: ML Lifecycle and Data at a Glance
  • Week 3
    • 1.What Is Generative AI: Difference from Traditional ML, and Foundation Models
    • 2.How LLMs Work: Tokens, Embeddings, Context Window, and Inference
    • 3.Prompt Engineering Basics: Good Prompts, Zero/Few-shot, and Limitations
    • 4.Limitations and Risks of Generative AI: Hallucinations, Bias, Non-determinism, and Appropriate Use Cases
    • 5.Week 3 Comprehensive Review: Wrapping Up Generative AI Fundamentals at a Glance
  • Week 4
    • 1.Amazon Bedrock: Fully Managed Service for Renting Foundation Models
    • 2.Amazon SageMaker: A Platform for Directly Training and Deploying ML Models
    • 3.AWS AI Services (1): Managed APIs Handling Images, Documents, Text, and Speech
    • 4.AWS AI Services (2) + Amazon Q: Chatbots, Search, Recommendations, Forecasting, and Generative Assistant
    • 5.Week 4 Comprehensive Review: Complete Map of AWS AI/ML Services
  • Week 5
    • 1.Principles of Responsible AI: Fairness, Bias, Transparency, Explainability, Robustness, Privacy
    • 2.AWS's Responsible AI Tools: SageMaker Clarify, Model Monitor, Bedrock Guardrails, AI Service Cards
    • 3.AI Security: Least Privilege IAM, Data Encryption, PII Protection, PrivateLink, Shared Responsibility Model
    • 4.Data Governance and Compliance: Data Origin·Quality, Model Governance, Audit·Logging, Legal and Ethical Considerations for Generative AI
    • 5.Week 5 Comprehensive Review: Binding Responsible AI·Security·Governance into One
  • Week 6
    • 1.Domain Review 1: AI/ML Fundamentals + Generative AI Fundamentals: Critical Summary
    • 2.Domain Review 2: Foundation Model Applications (AWS AI Services) Critical Summary
    • 3.Domain Review 3: Responsible AI + Security·Governance Critical Summary
    • 4.Full Mock Exam Pace: Five Domains Comprehensive Questions
    • 5.D-Day Wrap-Up: Exam Structure, Keyword → Service Translation Table, Frequently-Missed Traps
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
← AIF-C01/Week 1/Day 4
AIF-C01· AssociateWeek 1 · Day 4~15 min read

Day 4 - Key Terms: Model, Training, Inference, Feature, Label, Overfitting

Introduction

When studying machine learning, the same concepts get referred to with a mix of English and Korean terms, and many words look similar, which can be confusing. Today we will precisely sort out the foundational vocabulary you must know for the AIF-C01 exam and for real-world conversations.

The terms we will cover today are: model, training, inference, feature, label, datasets (training/validation/test), and overfitting and underfitting.

Quick Reference Table of Key Terms

TermEnglishOne-line definition
ModelModelA "bundle of rules" learned from data
TrainingTrainingThe process of building a model from data
InferenceInferenceThe process of predicting answers for new data using a trained model
FeatureFeatureInput information (variables) used for prediction
LabelLabelThe answer the model must get right
OverfittingOverfittingA state of memorizing only the training data and performing poorly on new data
UnderfittingUnderfittingA state of insufficient learning where even the patterns aren't captured

1. Model

A model is the artifact learned from data. Think of it as a "learned bundle of rules" that takes input and produces output. For example, a function that takes a house's floor area as input and outputs an estimated price is a model.

A model itself starts out as a blank state that knows nothing, and it gradually becomes smarter through training.

2. Training & Inference

Machine learning work is broadly divided into two stages.

  • Training: The process of building the model by showing it data. It takes a long time and consumes a lot of resources.
  • Inference: The process of feeding new input to the finished model to get an answer. This is the stage users encounter in an actual service.

By analogy, training is "the process of studying," and inference is "solving exam problems with what you've learned."

💡 Related theory: Training is usually performed heavily once (or occasionally), while inference is repeated countless times during service. That is why the cost and speed requirements of training and inference differ from each other.

3. Feature & Label

  • Feature: The input information used for prediction. Also called variables or attributes.
  • Label: The answer the model must get right. (Used in supervised learning from Day 2.)

Using the house price prediction example:

ItemRoleExample
Floor area, number of rooms, locationFeatures (input)84㎡, 3 rooms, Gangnam
Actual transaction priceLabel (answer)900 million KRW

Training requires both features and labels, while inference feeds in only features to predict the label (answer).

4. Splitting Datasets: Training, Validation, Test

To build a model properly, the available data is usually split into three parts.

DatasetEnglishPurpose
Training dataTraining setUsed to train the model
Validation dataValidation setUsed to check and tune the model during training
Test dataTest setUsed to objectively evaluate final performance

The key point is that test data is never used for training. Evaluating with data used for training is like "taking an exam with questions you've already seen," so performance gets inflated.

💡 Related theory: The reason for splitting data into training/validation/test is to honestly measure whether the model "also works well on new data (generalization)."

5. Overfitting & Underfitting

These are the most frequently encountered problem concepts in machine learning.

Overfitting

A state where the model has memorized the training data too well, and as a result performs poorly on new data. It is likened to "a student who memorizes past exam papers wholesale and can't solve variations."

  • Training data accuracy: very high
  • New (test) data accuracy: low

Underfitting

A state where the model has learned too little and failed to even capture the patterns. It is likened to "a student who studied so little that they get even the basic questions wrong."

  • Training data accuracy: low
  • New data accuracy: low
StateTraining data performanceNew data performanceAnalogy
UnderfittingLowLowNot enough studying
Just rightHighHighUnderstands and can apply
OverfittingVery highLowOnly memorized

💡 Related theory: A good model performs consistently well on both training data and new data. Striking the balance between overfitting and underfitting is the central challenge of machine learning, and this is described as "improving generalization performance."

Understanding the Terms as a Connected Flow

The terms learned today don't stand alone — they connect into a single flow.

[Training data] containing features + labels
        ↓ (Training)
      [Model] completed
        ↓ (Inference)
New input (features) → predicted label
        ↓
Evaluate performance with [test data] → check for overfitting/underfitting

If you can picture this flow in your head, the more complex content in later weeks will be much easier to understand.

Today's Summary

  • A model is a "bundle of rules" learned from data.
  • Training is the process of building the model; inference is the process of predicting with the built model.
  • Features are input information; labels are the answers to get right.
  • Data is split into training, validation, and test sets, and test data is not used for training.
  • Overfitting is a state of memorizing only the training data; underfitting is a state of insufficient learning.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

What is the process of feeding new input data to a completed model to obtain prediction results called?

Question 2

In house price prediction, "floor area, number of rooms, location" are used as input, and "actual transaction price" is the answer to get right. Which terms correctly refer to each?

Question 3

A model achieves very high accuracy on the training data but its performance drops sharply on new test data. Which term best describes this state?

Question 4

What is the main reason for splitting data into training, validation, and test sets in machine learning?

Question 5

What is the state in which learning was insufficient, patterns weren't properly captured even on the training data, and performance is also low on new data?

PreviousProblems Where ML Fits vs. Problems Where It Doesn'tWeek 1 · Day 3Next Week 1 Wrap-Up: AI/ML Fundamentals ReviewWeek 1 · Day 5

On this page

  • Introduction
  • Quick Reference Table of Key Terms
  • 1. Model
  • 2. Training & Inference
  • 3. Feature & Label
  • 4. Splitting Datasets: Training, Validation, Test
  • 5. Overfitting & Underfitting
  • Overfitting
  • Underfitting
  • Understanding the Terms as a Connected Flow
  • Today's Summary
  • Practice Questions