Classification
Regression
There are two main strategies to evaluate model performance:
Training-Validation-Test Split: Split the dataset into a training set, a validation set and a test set.
Cross-validation: The dataset is divided into k subsets (folds). The model is trained on k-1 folds and validated/tested on the remaining fold. This process is repeated k times, with each fold used as the validation set once. The performance metrics are averaged over the k iterations.