Simple Neural Network

A fully connected customizable neural network with an example.

https://github.com/vtshitoyan/simpleNN

You are now following this Submission

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.

Cite As

Vahe Tshitoyan (2026). Simple Neural Network (https://github.com/vtshitoyan/simpleNN), GitHub. Retrieved .

Categories

Find more on Deep Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
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
Updated the summary.
basic correction to summary
Added a tag

Changed the description
Description update

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.