aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← Machine Learning learning path
07
Supervised learning

Classification

Predicting categories with probabilities: logistic regression, its boundary and its multiclass extension.

6 lessons~49 min4 formulas6 questions
0%
Not started yet
Quiz mastery0%
Start
What you’ll take away
  • Logistic regression = linear score → sigmoid → probability, trained with cross-entropy.
  • Its decision boundary is a hyperplane; non-linear features curve it.
  • Thresholds trade precision against recall; calibrated probabilities make them meaningful.
  • Softmax extends the idea to many classes.
Major concepts (syllabus)

Logistic regression, decision boundaries, probability-based classification, binary and multiclass classification

Lessons

  1. From regression to classificationWhy a straight line is a poor model for yes/no targets.7 min
  2. Logistic regressionA linear score passed through the sigmoid to get a probability.10 min
  3. Decision boundariesWhere the predicted class flips; linear for logistic regression.8 min
  4. Probability-based classificationThresholds, calibrated probabilities and cross-entropy loss.8 min
  5. Binary classificationTwo classes, one probability.7 min
  6. Multiclass classificationOne-vs-rest and the softmax function.9 min

Key formulas

Sigmoid

Maps any real number into (0, 1).

Logistic model

Probability of the positive class.

Binary cross-entropy

Negative log-likelihood of Bernoulli labels.

Softmax

K scores to K probabilities that sum to 1.

Key terms

Cross-entropy
Loss for probabilistic classification: −log of the probability assigned to the true class.
Decision boundary
The surface in feature space where a classifier's prediction changes class.
Logistic regression
Linear score passed through a sigmoid to model a class probability.
Sigmoid
1 / (1 + e⁻ᶻ): squashes any number into (0, 1).
Softmax
Turns a vector of scores into probabilities that sum to 1.
Full glossary →
Practice this topic6 questions · earn XP and build your streak
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser