Skip to content

Glossary: NLP with Transformers

Stratified split

Also written: stratify_by_column, train_test_split

A train/validation split that keeps each label's share the same in both parts. It needs a ClassLabel column, and a `seed` makes it repeatable.

Where the book teaches it

Related terms

ClassLabelValidation set