Introduction to Machine Learning

by Albert Major


1. Core idea

2. Why it matters

SUPERVISED LEARNING CONTEXT

3. LINEAR MODEL STRUCTURE

4. SIGMOID FUNCTION

Interpretation:

5. EFFECT OF PARAMETERS

6. DECISION BOUNDARY

7. CLASSIFICATION THRESHOLD

8. LOSS FUNCTION: BINARY CROSS-ENTROPY (LOG LOSS)

9. OPTIMIZATION

Gradient meaning:

10. CONVEXITY

11. REGULARIZATION

Types:

  1. L2 (Ridge) – adds sum of squared weights.
  2. L1 (Lasso) – adds sum of absolute weights.
  3. Elastic Net – combines L1 and L2.

12. EVALUATION METRICS (BINARY CLASSIFICATION)

You cannot use regression metrics (like MSE). Classification needs its own metrics.

Confusion Matrix:

Main metrics:

13. ROC CURVE AND AUC

Good metrics for unbalanced data: