Skip to content

Glossary: Regression

train_test_split

Also written: training and test split

A scikit-learn function that shuffles rows and splits them into a training set and a test set, e.g. `test_size=0.25` holds back a quarter.

Where the book teaches it

Related terms

Training setTest setSeed