Skip to content

A multilayer perceptron that uses Simple Linear Algebra library For Csharp

License

Notifications You must be signed in to change notification settings

HectorPulido/Vectorized-multilayer-neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vectorized Multilayer Neural Network

This is a simple MultiLayer perceptron made with Simple Linear Algebra for C# , is a neural network based on This Algorithm but generalized. This neural network can calcule logic doors like Xor Xnor And Or via Stochastic gradient descent backpropagation with Sigmoid as Activation function, but can be used to more complex problems.

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, and choose the number of neurons and layers you want

How use Relu

  1. Change all sigmoid function, for relu function
  2. Last A must have no Nonlinear function Matrix Last A must be Equal To Last Z;
  3. because of that Last Delta has not derivated Matrix "Last Delta = Last error Error * 1";
  4. The learning rate must be smaller, like 0.001
  5. Optionaly you can use a Softmax layer to make a clasifier

Where can i learn more

Let's connect 😋

Hector's LinkedIn     Hector's Twitter     Hector's Twitch     Hector's Youtube    

About

A multilayer perceptron that uses Simple Linear Algebra library For Csharp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages