Eight classic ML algorithms, each running live.
Mathematica
Visit on X@mathemetica82K followers
48,398 views
Eight classic ML algorithms, each running live.
Linear regression fits a line by least squares. Logistic regression fits σ(z) = 1/(1 + e⁻ᶻ) by minimising log-loss. A decision tree takes the axis split that cuts impurity most; a random forest votes over trees grown on bootstrap samples.
KNN takes the majority of the k nearest points. An SVM finds the widest margin, set by support vectors. K-means alternates assign and re-centre. Naive Bayes weighs feature Gaussians by the prior.
Comments
Comments from the original post on X (Twitter)
No comments yet
