- "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
1 次查看(过去 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!