Revision sheet: Fundamentals of Machine Learning

Machine Learning Revision Sheet

1. πŸ“Œ Essentials

  • Machine learning creates models that predict outcomes based on data.
  • Models are functions y = f(x), trained on labeled datasets.
  • Features (x) are input variables; labels (y) are targets.
  • Types include regression, classification, clustering, and deep learning.
  • Regression predicts continuous values; classification predicts categories.
  • Deep learning uses neural networks with layered architectures- Model evaluation uses metrics like MAE, MSE, accuracy, F1-score.
  • Training involves data to derive the function; inference predicts new data.
  • Supervised learning uses labeled data; unsupervised learning finds patterns without labels.
  • Common algorithms: Linear regression, logistic regression, K-Means, neural networks.

2. 🧩 Key Structures & Components

  • Training Data β€” past observations with features and labels.
  • Features (x) β€” input attributes, e.g., temperature, measurements.
  • Labels (y) β€” target output, e.g., sales, species, risk.
  • Model β€” the learned function y = f(x).
  • Algorithm β€” method to fit data, e.g., gradient descent.
  • Neural Network β€” layered structure mimicking neurons for deep learning.
  • Loss Function β€” measures prediction error during training.
  • Evaluation Metrics β€” assess model performance (e.g., accuracy, R2).

3. πŸ”¬ Functions, Mechanisms & Relationships

  • Data β†’ features (x) and labels (y) β†’ model training.
  • Training adjusts model parameters to minimize loss.
  • Model predicts yΜ‚ (predicted label) from new features x.
  • Regression models output continuous y; classification models output probabilities.
  • Deep learning uses multiple layers to extract complex patterns.
  • Evaluation metrics guide model tuning and selection.
  • Hierarchical flow: Data collection β†’ preprocessing β†’ training β†’ validation β†’ deployment.
  • Supervised models require labeled data; unsupervised models find inherent data structure.
  • Neural networks perform forward pass, compute loss, then backpropagate errors to update weights.

4. πŸ“Š Comparative Table

ItemKey FeaturesNotes / Differences
RegressionPredicts numeric y; continuous outputExample: sales based on temperature
Binary ClassificationPredicts 0/1; probability-based; evaluated with confusion matrixExample: disease risk prediction
Multiclass ClassificationPredicts among multiple classes; softmax or OvRExample: penguin species
ClusteringUnsupervised grouping; no labels; based on similarityExample: customer segmentation
Deep LearningNeural networks with multiple layers; backpropagationExample: image recognition, NLP tasks

5. πŸ—‚οΈ Hierarchical Diagram

Machine Learning
 β”œβ”€ Data
 β”‚    β”œβ”€ Features (x)
 β”‚    └─ Labels (y)
 β”œβ”€ Model
 β”‚    └─ Function y = f(x)
 β”œβ”€ Training
 β”‚    β”œβ”€ Fit algorithm to data
 β”‚    └─ Derive model parameters
 β”œβ”€ Inference
 β”‚    └─ Predict yΜ‚ from new x
 β”œβ”€ Types
 β”‚    β”œβ”€ Regression (numeric y)
 β”‚    β”œβ”€ Classification (categorical y)
 β”‚    β”‚   β”œβ”€ Binary (2 classes)
 β”‚    β”‚   └─ Multiclass (>2 classes)
 β”‚    └─ Clustering (unsupervised)
 └─ Deep Learning
      └─ Neural networks, layered architecture, backpropagation

6. ⚠️ High-Yield Pitfalls & Confusions

  • Confusing regression (numeric y) with classification (categorical y).
  • Overfitting: models perform well on training but poorly on new data.
  • Misinterpreting probability outputs as final predictions in classification.
  • Using accuracy alone in imbalanced datasets; consider precision, recall.
  • Assuming deep learning is always necessary; simpler models often suffice.
  • Mixing up supervised and unsupervised methods.
  • Ignoring feature scaling, which affects algorithms like K-Means.
  • Overlooking the importance of validation and test datasets.
  • Confusing model evaluation metrics; e.g., R2 vs. accuracy.

7. βœ… Final Exam Checklist

  • Understand the difference between supervised and unsupervised learning.
  • Know the main types of models: regression, classification, clustering.
  • Be able to describe features, labels, and how models are trained.
  • Recognize common algorithms: linear regression, logistic regression, K-Means, neural networks.
  • Know how to evaluate models: MAE, MSE, R2, accuracy, precision, recall, F1-score.
  • Understand the training process: forward pass, loss calculation, backpropagation.
  • Be familiar with deep learning architecture and its applications.
  • Know examples of real-world applications for each model type.
  • Understand the importance of data quality and feature engineering.
  • Be aware of common pitfalls like overfitting and bias.
  • Recognize the role of evaluation metrics in model tuning.
  • Know platforms like Azure ML for deployment and scaling.

End of Revision Sheet

Test your knowledge

Test your knowledge on Fundamentals of Machine Learning with 9 multiple-choice questions with detailed corrections.

1. What is the primary purpose of a machine learning model?

2. Which algorithm is commonly used to perform simple linear regression in machine learning?

Take the quiz β†’

Review with flashcards

Memorize the key concepts of Fundamentals of Machine Learning with 10 interactive flashcards.

Machine learning β€” definition?

Data-driven models predicting outcomes.

Machine learning β€” defines?

Models that predict outcomes from data.

Features (x) β€” role?

Input attributes for prediction.

See flashcards β†’

Similar courses

Create your own revision sheets

Import your course and AI generates sheets, quizzes and flashcards in 30 seconds.

Sheet generator