Cross -validation implemented in the the nprtool

조회 수: 1 (최근 30일)
Yogini Prabhu
Yogini Prabhu 2021년 5월 24일
답변: SM 2022년 1월 12일
Please let know how is Cross -validation implemented in the the code of classification of patterns at nprtool (Deep Learning Toolbox)?
  댓글 수: 4
John D'Errico
John D'Errico 2021년 5월 30일
Why ask the exact same question twice? PLEASE DON"T DO IT A THIRD TIME.
Yogini Prabhu
Yogini Prabhu 2021년 6월 3일
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).

댓글을 달려면 로그인하십시오.

답변 (3개)

Rishik Ramena
Rishik Ramena 2021년 5월 26일
편집: Rishik Ramena 2021년 5월 27일
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
Walter Roberson
Walter Roberson 2021년 5월 29일
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)
Yogini Prabhu
Yogini Prabhu 2021년 5월 30일
okay! question is corrected as above with accuracy.
what about the answer?

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2021년 6월 4일
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.

SM
SM 2022년 1월 12일
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.

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by