Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.23 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.23 KB

Multilayer Perceptron

This repository contains the implementation for a blog post I wrote about Multilayer Perceptrons. This is an attempt to show what an MLP is doing during learning and what's the intuition behind the formulation.

To motivate the problem of going beyond linear classifiers, I'm using a non-linear synthetic dataset, two concentric circles (data generation code is in the notebook).

The notebook also contains visualizations of the learned units (pre-activation), the learned hidden transformation that makes the dataset linearly separable and finally the learned decision boundary in the original space.

Visualizations

Decision Boundary

The final decision boundary of the MLP in the original space.

Learned Transformation

A 3D visualization of the dataset after applying the hidden layer.

Learned Units

The three lines correspond to the 3 neurons that were learned. It is visualized before the activations are applied to them.