- "repartition" : Repartition data for cross-validation.
- "test" : Test indices for cross-validation.
- "training" : Training indices for cross-validation.
don't understand "training" method in cvpartition class
조회 수: 3 (최근 30일)
이전 댓글 표시
the "cvpartition" class in the statistics and machine learning toolbox as the following method:
function trainIndices = training(cv,varargin)
trainIndices = training(cv.Impl,varargin{:});
end
I have been trying to find the "trainin" function referenced in the training method butI haven't been able to find it. Additionally, this function does not inherit from any other superclasses. is this a recursion? I don't understand what this function does...
댓글 수: 0
채택된 답변
Prateek Rai
2021년 10월 9일
To my understanding, you want to learn about the 'training' method used with cvpartition.
There are three object functions used with cvpartition:
You can refer to training, test, and repartition MathWorks documentation page to learn more about each object functions.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification Ensembles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!