3.

Train/Test Split

easy

Task

Learn to split data into training and test sets to evaluate model performance on unseen data.

Instructions

  1. Read through the code and understand the setup
  2. Complete the TODO sections in the code
  3. Click Run or press Ctrl+Enter to execute
  4. Click Done when finished

Concepts

train_test_splittest_sizerandom_statestratify

Command Palette

Search for a command to run...