Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes

Train/test split of data, stratified based on label, but ensuring no athletes are In both train/test sets

I think you may use the concept of groups as implemented in scikit-learn. In GroupShuffleSplit you may set a column of groups. Then the split won't happen across groups. Either a group as a whole is ...
Avi T's user avatar
  • 56
2 votes

Data generation methods for NLP tasks

There are dozens of public sentiment analysis datasets you can use. Check out Kaggle datasets and Paperswithcode for that. Another popular approach is to generate your own synthetic dataset with an ...
noe's user avatar
  • 26.9k

Only top scored, non community-wiki answers of a minimum length are eligible