Simple Neural Network
A fully connected neural network with many options for customisation.
Basic training:
modelNN = learnNN(X, y);
Prediction:
p = predictNN(X_valid, modelNN);
One can use an arbitrary number of hidden layers, different activation functions (currently tanh or sigm), custom regularisation parameter, validation sets, etc. The code does not use any matlab toolboxes, therefore, it is perfect if you do not have the statistics and machine learning toolbox, or if you have an older version of matlab. I use the conjugate gradient algorithm for minimisation borrowed from Andrew Ngs machine learning course. See the github and comments in the code for more documentation.
Citation pour cette source
Vahe Tshitoyan (2024). Simple Neural Network (https://github.com/vtshitoyan/simpleNN), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
lib
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.1 | Automatically including the "lib" folder. |
|
|
1.0.0.1 | a fix to confusion matrix |
|
|
1.0.0.0 | Update the title and the picture
Changed the description
|
|