Train/test split: how are you handling it?

CodeComplex: Code Complexity Prediction Dataset

147
•
263
Apache-2.0
1K – 10K
Text Generation
code

Opened about a month ago

by @brianteam-0899

1
@brianteam-0899a month ago

The dataset only ships with a train split. How are you guys creating validation/test sets? Random split seems risky since multiple solutions can come from the same problem.

@crystal-8284a month ago

Good point. The problem field (e.g. 1179_B. Tolik and His Uncle) lets you group by problem. I used GroupShuffleSplit on that column so the same problem never appears in both train and test.

comment reaction1

0/10000

Sign up or Log in to comment