Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
418 views

few images in validation and test set

I've a dataset with about 123 images (two categories, 19 defect and 104 no defect). I've to implement a classifier so I've decided to split my data in train (70% of all data), validation (20% of all ...
lorenzlorg's user avatar
1 vote
0 answers
41 views

How do I perform a train-validation split on data with class imbalance such that the class imbalance ratio is preserved?

My data has class imbalance-- that is, some classes have significantly fewer training samples than the others. I want to perform a train-validation split in such as way that the class ratios are ...
skinnybb's user avatar