Sitelet https://web.archive.org/web/20190322165837/https://github.com/zotroneneis/machine_learning_basics
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Plain python implementations of basic machine learning algorithms
Branch: master
Clone or download
Latest commit 01729dd Jul 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
figures figure added Jun 17, 2018
LICENSE Create LICENSE Mar 12, 2018
README.md
data_preprocessing.ipynb minor changes in display of dataframe Jul 14, 2018
decision_tree_classification.ipynb figures folder created, paths adapted Apr 17, 2018
decision_tree_regression.ipynb figures folder created, paths adapted Apr 17, 2018
image_preprocessing.ipynb section on creating a test set added Jul 11, 2018
k_nearest_neighbour.ipynb typos fixed, plt.show() added Mar 26, 2018
kmeans.ipynb
linear_regression.ipynb
logistic_regression.ipynb cost function formula corrected Mar 26, 2018
perceptron.ipynb minor corrections Mar 11, 2018
simple_neural_net.ipynb
softmax_regression.ipynb

README.md

Machine learning basics

This repository contains implementations of basic machine learning algorithms in plain Python (Python Version 3.6+). All algorithms are implemented from scratch without using additional machine learning libraries. The intention of these notebooks is to provide a basic understanding of the algorithms and their underlying structure, not to provide the most efficient implementations.

alt text

Data preprocessing

After several requests I started preparing notebooks on how to preprocess datasets for machine learning. Within the next months I will add one notebook for each kind of dataset (text, images, ...). As before, the intention of these notebooks is to provide a basic understanding of the preprocessing steps, not to provide the most efficient implementations.

alt text

Feedback

If you have a favorite algorithm that should be included or spot a mistake in one of the notebooks, please let me know by creating a new issue.

License

See the LICENSE file for license rights and limitations (MIT).

You can’t perform that action at this time.