LegközelebbKövetkező útmutató
Beágyazott keresztellenőrzés
Műszaki
Alapok ÚTMUTATÓ
Cross-validation estimates how a model or modeling procedure performs on held-out data by repeating train/validation splits.
Hallgassa meg ezt az útmutatótAI-narrált · ~1 min
It supports model assessment, but the estimate depends on the data, split design and preprocessing.
In k-fold cross-validation, the data are divided into folds; each fold is held out once while the others train the model. Repeated partitions can make an estimate less dependent on one particular split, but do not guarantee greater reliability: dependence between folds, sample size and distribution shift still matter. Preprocessing belongs inside each training fold. Nested cross-validation separates hyperparameter selection from outer evaluation.
K-fold cross-validation rotates which fold is held out for evaluation.
Stratification can preserve approximate class proportions in folds for classification.
Preprocessing should be fitted within each training fold to avoid leakage.
Nested cross-validation separates inner model selection from outer evaluation.
Choose validation procedures based on the data structure and deployment question. AutoML or deep-learning workflows do not universally require one holdout strategy; the method should be justified and reported.
Ingyenes hírlevél
Minden hétköznap reggel három ellenőrzött AI történet, egyszerű angol nyelven. Örökké ingyen, hirdetések nélkül.
Minden hétköznap egy e-mail. Egy kattintással lemondhat. Soha nem értékesítjük vagy osztjuk meg az Ön címét.
Teszteld magad
Azonnali visszajelzés minden válaszra, és megosztható tanúsítvány egy ellenőrizhető azonosítóval, miután sikeresen teljesít egy kurzust.
Támogassa az ingyenes AI oktatást. AI Understanding egy 501(c)(3) nonprofit – nincs hirdetés, nincs fizetőfal, soha. Tegyen adományt
Cross-validation estimates how a model or modeling procedure performs on held-out data by repeating train/validation splits. It supports model assessment, but the estimate depends on the data, split design and preprocessing.
Minden hajtogatás pontosan egyszer szolgál tesztkészletként a k körben, így minden mintát egyszer tesztelnek, és a többire oktatják.
Averaging results across folds can reduce dependence on one particular train/test split, but it does not guarantee a reliable estimate; sample size, data dependence and split design still matter.
Az idősorrendű adatok megkeverése a jövőt szivárogtatja a képzésbe, így az idősoros CV előre láncolt felosztásokat használ, amelyek csak a múltbeli megfigyeléseken alapulnak.
Nested cross-validation uses inner folds for model selection and outer folds to estimate the performance of that selection process, reducing selection bias.
The guide identifies five- and ten-fold cross-validation as common choices, though the suitable design depends on the data and task.
Tanulj tovább
További útmutatók készültek ehhez a témához
LegközelebbKövetkező útmutató
Beágyazott keresztellenőrzés
Műszaki