/multilayer-perceptron

Implementation of MLP (multilayer perceptron) with numpy and PyTorch.

Primary LanguagePythonMIT LicenseMIT

Multilayer Perceptron

Implementation of MLP (multilayer perceptron) with numpy and PyTorch.

The goal of this is to better understand what ML-libraries such as PyTorch do in the background.

Installation:

  • $ git clone https://github.com/elmeriniemela/multilayer-perceptron.git
  • $ cd multilayer-perceptron
  • $ pip install -r requirements.txt

Usage:

  • Plot the comparison fit: $ python test_mlp.py
  • Run the automated tests: $ python -m unittest -v test_mlp.TestMLP

Links:

alt text