/ml-theory

PCA, SVM, partial least-squares regression coded from scratch

Primary LanguagePython

These are some ML algorithms coded from scratch. The fit and inference logic are contained in the fit and predict/transform methods of each estimator, and the estimators themselves follow sklearn's estimators API https://scikit-learn.org/stable/developers/develop.html.

Each module should be accompanied by a compare file that runs a simple comparison between the from-scratch version and the corresponding sklearn estimator.