Back In the print window choose "Save as PDF" as the destination
NOTE.CS

Data Splitting and Experiment Setup

1 topic ยท 28 Nov 2026
1

Data Splitting and Experiment Setup

Artificial Intelligence

What is validation data?

Validation data is used during model development to monitor performance and tune model settings without using the test set.


What is test data?

Test data is used at the end to evaluate how well the final model performs on unseen data.


Why should test data not be used during training?

If the test data influences model training or tuning, the evaluation becomes biased. The test set should represent unseen data.


What is generalization?

Generalization is the ability of a model to perform well on new, unseen data, not just on the training data.


What is data leakage?

Data leakage happens when information from outside the training data, especially validation or test data, unintentionally influences the training process. It can produce unrealistically high performance.


What is cross-validation?

The data is split into K parts. The model trains on K-1 parts and tests on the remaining part, and this repeats K times. It gives a more reliable estimate of performance.


K-fold vs stratified k-fold?

Stratified k-fold keeps the class ratio the same in every fold. It is useful for imbalanced data.


What is stratified splitting?

It splits the data so each subset has the same class proportion as the original dataset. We used this in our thesis paper.


What is a class imbalance problem?

Some classes have many more samples than others. The model may favor the majority class.


How do you handle class imbalance?

Use class-weighted loss, oversampling, undersampling, data augmentation, and better metrics like F1 and recall. We used class-weighted loss in the pneumonia paper.


What is a baseline model?

A simple or standard model used as a reference to show that the proposed model is better.


What is an ablation study?

Removing or changing parts of the model one by one to see how much each part contributes.