Some machine learning algorithms implemented in python.
Jupyter Notebook
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Artificial neural networks with Keras.ipynb
Artificial neural networks.ipynb
Linear regression.ipynb
Logistic regression.ipynb
k-means clustering.ipynb

Example python implementations of basic machine learning algorithms

The repository ml-python contains IPython notebooks outlining example implementations and applications of machine learning algorithms using Python 3, numpy, and maybe pandas.


The motivation for creating these notebooks came from taking Andrew Ng's machine learning course on Coursera. The class implements the algorithms in GNU Octave / MATLAB so I decided to try implementing them using Python as a challenge, to reinforce the concepts, and also just for fun.

These notebooks are intended to serve as examples and references for the basic gist of the outlined machine learning algorithms.

Current examples:

  • Linear regression
  • Logistic regression
  • k-means clustering
  • Artificial neural networks (vanilla or using Keras)
  • Support vector machines

Upcoming examples:

These are currently in progress at various stages of completion.

  • Limitations of k-means clustering
  • Cross-validation