Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Daniel Goldstein
Daniel Goldstein le 21 Juil 2022
Réponse apportée : Drew le 10 Jan 2023
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?

Réponses (1)

Drew
Drew le 10 Jan 2023
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.

Catégories

En savoir plus sur Descriptive Statistics dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by