Skip to content

An implemention of MLP (Multi Layer Perceptron) Classifier from scratch in numpy

Notifications You must be signed in to change notification settings

jiuxianghedonglu/MLPClassifier.python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An implemention of MLP (Multi Layer Perceptron) Classifier from scratch in numpy.

Description

  • hidden layers activation is sigmoid
  • output layer activation is softmax
  • loss function is cross-entropy
  • support save and load model weights
  • setting hidden layers by paramater "hidden_sizes", examples: hidden_sizes=(100,),there is a hidden layer of 100 neurons; hidden_sizes=(100,50),there are two hidden layers, 100 and 200 neurons.

Example:

Mnist Dataset Classfication

  1. Download Data:
  1. Run example

  2. Training log of example

About

An implemention of MLP (Multi Layer Perceptron) Classifier from scratch in numpy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages