ต่อไปคำแนะนำต่อไป
การตรวจสอบไขว้แบบซ้อน (Nested Cross-Validation)
เทคนิค
คู่มือพื้นฐาน
การตรวจสอบความถูกต้องข้ามจะประมาณว่าแบบจำลองหรือขั้นตอนการสร้างแบบจำลองทำงานอย่างไรกับข้อมูลที่ค้างอยู่โดยการทำซ้ำการแยกรถไฟ/การตรวจสอบความถูกต้อง
ฟังคำแนะนำนี้บรรยายโดย AI · ~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.
จดหมายข่าวฟรี
เรื่องราว AI ที่ตรวจสอบแล้ว 3 เรื่องทุกวันทำงาน เช้า, เขียนเป็นภาษาอังกฤษธรรมดา ฟรีตลอดไป ไม่มีโฆษณา
อีเมลหนึ่งฉบับทุกวันทำงาน ยกเลิกการสมัครในคลิกเดียว เราไม่เคยขายหรือแชร์ที่อยู่อีเมลของคุณ
ทดสอบตัวเอง
ข้อเสนอแนะทันทีสำหรับทุกคำตอบ และใบรับรองที่สามารถแชร์ได้พร้อม ID ที่ตรวจสอบได้เมื่อคุณผ่านหลักสูตร
สนับสนุนการศึกษา AI ฟรี AI Understanding เป็นองค์กรไม่แสวงหาผลกำไร 501(c)(3) — ไม่มีโฆษณา ไม่มีกำแพงเงิน, ตลอดไป บริจาค
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.
แต่ละพับทำหน้าที่เป็นชุดการทดสอบหนึ่งครั้งตลอด 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.
การสับเปลี่ยนข้อมูลที่เรียงลำดับตามเวลาจะทำให้อนาคตรั่วไหลในการฝึกอบรม ดังนั้น CV อนุกรมเวลาจึงใช้การแยกแบบส่งต่อที่ฝึกฝนเฉพาะการสังเกตที่ผ่านมาเท่านั้น
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.
เรียนรู้ต่อไป
คำแนะนำเพิ่มเติมที่เลือกสำหรับหัวข้อนี้
ต่อไปคำแนะนำต่อไป
การตรวจสอบไขว้แบบซ้อน (Nested Cross-Validation)
เทคนิค