#593 · Primary category: Education & Research

machine_learning_basics

algorithm ipynb k-nearest-neighbor k-nearest-neighbours k-nn kmeans linear-regression logistic-regression machine-learning machine-learning-algorithms neural-network neural-networks perceptron python python-implementations python3

Plain python implementations of basic machine learning algorithms

Project last updated:06/27/24

GitHub Stars

4.4K

Forks

833

Contributors

3

License

MIT

Why we included this project

This is a study resource rather than a toolbox. Each notebook reimplements a classic algorithm from scratch in plain Python, with no scikit-learn or other machine learning libraries doing the work, so every prediction step stays readable and traceable. Coverage spans linear and logistic regression, decision trees, k-nearest-neighbor, k-means, support vector machines, PCA, perceptrons, and a simple neural network, alongside notebooks on preprocessing numerical/categorical data and images. You can run the notebooks in the browser through Binder without installing anything, though the preprocessing ones require downloading a dataset first. The author deliberately favors clarity over speed, which makes this a good fit for self-learners and for anyone walking a junior developer through ML fundamentals.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category