Skip to content

Intuitive demonstration of a feedforward neural network for classification with a streamlit UI front-end

License

Notifications You must be signed in to change notification settings

alec-hoyland/mlp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlp-demo

license streamlit

Intuitive demonstration of a feedforward neural network for classification with a streamlit UI front-end

This repo contains the code for a 2-layer feedforward neural network with ReLU activations and dropout trained on the MNIST image classification task.

The MNIST dataset contains 28 x 28 grayscale images of handwritten digits.

The model consists of a 784-dimensional input layer, followed by two fully-connected layers of dimension 512 and 128, followed by a 10-neuron output layer. ReLU activation and dropout were performed between layers and a softmax operation normalized the logits after the output layer.

A streamlit app provides an interactive demo for testing the model on new user input.

About

Intuitive demonstration of a feedforward neural network for classification with a streamlit UI front-end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages