Cross -validation implemented in the the nprtool
1 view (last 30 days)
Show older comments
Please let know how is Cross -validation implemented in the the code of classification of patterns at nprtool (Deep Learning Toolbox)?
4 Comments
John D'Errico
on 30 May 2021
Why ask the exact same question twice? PLEASE DON"T DO IT A THIRD TIME.
Answers (3)
Rishik Ramena
on 26 May 2021
Edited: Rishik Ramena
on 27 May 2021
If you want to check the implementations of uncompiled matlab functions, use the type command from the MATLAB command window. For the nprtool,
type nprtool
But this wouldn't work for compiled in-built functions.
3 Comments
Walter Roberson
on 29 May 2021
Shallow neural networks do not exist in the Statistics and Machine Learning toolbox; they are only in the Deep Learning Toolbox (which used to be named the Neural Network toolbox)
Walter Roberson
on 4 Jun 2021
nprtool uses traincsg(), which does not do cross-validation.
Therefore the answer to how Cross-Validation (CV) is done with nprtool is that CV is not done for nprtool.
0 Comments
SM
on 12 Jan 2022
Hi,
I think nprtool default cross-validation techniuqe is "hold out". It seems that for k-fold cross validation you should export the script and modify it.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!