Cross -validation implemented in the the nprtool

Please let know how is Cross -validation implemented in the the code of classification of patterns at nprtool (Deep Learning Toolbox)?

4 Comments

please provide answers!
Why ask the exact same question twice? PLEASE DON"T DO IT A THIRD TIME.
Hi John,
I am sorry for repeating my question multiple times,
I was in urgent need of the query resolution,
and at time of submitting the Q, I might of encountered network error.
so I might have repeared the action such that at least one of Q is uploaded.
However, capitals is shouting (now as per rules of Q&A too).

Sign in to comment.

Answers (3)

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

no, I dont need to check the implementations of the uncomplied matlab functions,
I want to know from yourself how to spot and explain to me, how is the process of cross-valiation (CV) been done for 'neural networks'?
the CV step is evidently and clearly seen for any of all different machine learning algorithms ( be it SVM,KNN,etc.) during the execution of the 'classification learner app',
however CV is not there in the app of 'Statistics and Machine learning'.
Please clarify the doubt reagarding CV in the Statistics and Machine learning app.
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)
okay! question is corrected as above with accuracy.
what about the answer?

Sign in to comment.

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.
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.
Have a look at this link, you may find it useful.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Tags

Asked:

on 24 May 2021

Answered:

SM
on 12 Jan 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!