Home

Awesome

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

<div align="center"> <h3 align="center">Let's connect 😋</h3> </div> <p align="center"> <a href="https://www.linkedin.com/in/hector-pulido-17547369/" target="blank"> <img align="center" width="30px" alt="Hector's LinkedIn" src="https://www.vectorlogo.zone/logos/linkedin/linkedin-icon.svg"/></a> &nbsp; &nbsp; <a href="https://twitter.com/Hector_Pulido_" target="blank"> <img align="center" width="30px" alt="Hector's Twitter" src="https://www.vectorlogo.zone/logos/twitter/twitter-official.svg"/></a> &nbsp; &nbsp; <a href="https://www.twitch.tv/hector_pulido_" target="blank"> <img align="center" width="30px" alt="Hector's Twitch" src="https://www.vectorlogo.zone/logos/twitch/twitch-icon.svg"/></a> &nbsp; &nbsp; <a href="https://www.youtube.com/channel/UCS_iMeH0P0nsIDPvBaJckOw" target="blank"> <img align="center" width="30px" alt="Hector's Youtube" src="https://www.vectorlogo.zone/logos/youtube/youtube-icon.svg"/></a> &nbsp; &nbsp; </p>