フィルターのクリア

Is k-folds cross-valiation in regressionlearner random or block/leave one out?

1 回表示 (過去 30 日間)
Daniel Goldstein
Daniel Goldstein 2022 年 7 月 21 日
回答済み: Drew 2023 年 1 月 10 日
Is the k-folds cross-valiation in the regressionlearner random or block/leave one out? The documentation does not say.
If random, does MATLAB have functionality to complete block/leave one out cross-validation?

回答 (1 件)

Drew
Drew 2023 年 1 月 10 日
You can perform leave-one-out cross-validation in Regression Learner by setting the number of cross-validation folds equal to the number of samples in your training set. At the session start dialogue, you will find that the number of samples in the training set is the maximum allowed value for the number of folds.

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by