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.
인용 양식
Vahe Tshitoyan (2022).Simple Neural Network(https://github.com/vtshitoyan/simpleNN), GitHub. 검색됨.
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!