promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Labels, features, and train/test splits — step 7 of 7

Checkpoint

One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.

Build the split report. Split the six rows by time at month 2, then print: the sizes of each side, the label's positive rate on each side (:.0%), and whether the rates match. (Matching base rates is what stratify=y buys you in a random split — a time split has to earn it, so you CHECK.)

full-screen editor opens — close anytime to keep reading.