Title: Introduction to Machine Learning - Class Notes
Course: CS340 - Machine Learning
Instructor: Dr. Elena McCarthy
Weeks Covered: 1–4
Week 1: Introduction
- Definition: Machine Learning (ML) is a subset of AI where systems learn from data
to make predictions.
- Types of ML:
- Supervised Learning
- Unsupervised Learning
- Reinforcement Learning
- Applications: Spam detection, image recognition, recommendation systems.
Week 2: Supervised Learning
- Goal: Learn a function that maps input X to output Y.
- Algorithms:
- Linear Regression
- Logistic Regression
- Support Vector Machines (SVM)
- Evaluation Metrics: Accuracy, Precision, Recall, F1 Score
Week 3: Unsupervised Learning
- No labeled data; goal is to find hidden patterns.
- Algorithms:
- K-Means Clustering
- Hierarchical Clustering
- Principal Component Analysis (PCA)
Week 4: Overfitting and Underfitting
- Overfitting: Model fits noise in training data.
- Underfitting: Model is too simple to capture patterns.
- Techniques:
- Cross-validation
- Regularization (L1, L2)
- Pruning (in decision trees)
Readings:
- Chapter 1–4 from "Pattern Recognition and Machine Learning" by Christopher Bishop
Next: Decision Trees and Ensemble Methods.