8 Validation overfitting

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

17 Terms

1
New cards

What is underfitting?

A model is too restricted to capture relevant structure, so both training and held-out error can be high.

2
New cards

What is overfitting?

A flexible model captures training-specific variation that does not transfer. Training error can improve while held-out error worsens.

3
New cards

What does the familiar error-versus-model-complexity diagram illustrate?

Training error tends to decrease with flexibility; held-out error may first improve and later worsen. The smooth U shape is illustrative, not guaranteed for every measured split.

4
New cards

What does increasing model complexity correspond to in KNN versus K-means?

KNN generally becomes more locally flexible as K decreases. In K-means, increasing K asks for more groups. The same letter does not mean the same modeling choice.

5
New cards

What is the bias-variance tradeoff?

Restrictive procedures can miss structure through systematic bias; flexible procedures can vary strongly across training samples. Good prediction balances them with irreducible noise.

6
New cards

How do parameters and hyperparameters differ?

Parameters are fitted quantities such as coefficients or mixture means. Hyperparameters control modeling/training choices, such as K, a penalty or a maximum interaction degree.

7
New cards

What are training, validation and test data used for?

Training fits parameters; validation guides model/hyperparameter choices; an untouched test set assesses the selected procedure after choices are complete.

8
New cards

Can a dataset remain an untouched test set after selecting the best K on it?

No. Using its results to choose K makes it validation data, regardless of its variable name. A separate assessment is needed for an untouched estimate.

9
New cards

What does cross-validation rotate?

It rotates held-out validation folds within the development data. Every fold’s preprocessing and supervised selection must use only that fold’s training observations.

10
New cards

Why can feature selection on the full dataset invalidate later cross-validation?

The validation labels already influenced the selected representation. Repeat supervised selection inside each training fold to evaluate the full procedure honestly.

11
New cards

What is nested evaluation intended to separate?

Inner model/hyperparameter selection from outer assessment of the selection procedure. Reporting the best inner score alone can be optimistic.

12
New cards

Does stratified splitting solve class imbalance?

No. It approximately preserves class proportions across splits; it does not create equal class sizes or guarantee strong positive detection.

13
New cards

Why should forecasting evaluation usually respect chronological order?

Future predictions must use information available at the forecast origin. Random splits can permit future patterns or information to influence evaluation of earlier cases.

14
New cards

Why can K = 1 give a perfect KNN fit on the training observations?

If a training query is allowed to match itself, its own label/response is available as its nearest neighbor. This is resubstitution, not evidence of perfect generalization.

15
New cards

Does changing K from 1 to 2 remove self-neighbor contamination?

No. The query’s own response can still contribute. Hold the query out or use a procedure that explicitly excludes it.

16
New cards

Does a slightly better test score than training score automatically prove an error?

No. Finite-sample variation or different sample difficulty can produce it. Inspect the evaluation design rather than treating one expected trend as an absolute law.

17
New cards