Skip to content

HectorPulido/Simple-vectorized-mono-layer-perceptron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vectorized monolayer perceptron

This is a simple perceptron made with Simple Linear Algebra for C# , is a neural network that can calcule Xor Xnor And Or via Stochastic gradient descent backpropagation with Sigmoid and Relu as Activation function.

There is a lot to improve, like csv read, gpu implementation, regularization, but is functional.

How use it

Just go to the project and open Program.cs and run it, you can change the dataset changing X and Y variables

How use Relu

  1. Change all sigmoid function, for relu function
  2. a3 must have no Nonlinear function Matrix a3 = z3;
  3. because of that Delta3 has not derivated Matrix Delta3 = a3Error * 1;
  4. The learning rate must be smaller, like 0.001

Where can i learn more

Patreon

Please consider Support on Patreon https://www.patreon.com/HectorPulido

About

A very simple neural network that uses matrix

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages