Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.clickml.app/llms.txt

Use this file to discover all available pages before exploring further.

The Train-Test Split component divides your DataFrame into features (X) and target (y) and then splits them into training and test portions. Its output handles connect directly to model and evaluation components.

Configuration

OptionDescriptionDefault
Target ColumnThe column the model should learn to predict
Split ModeHow to divide the data (see below)Train/Test
Test SizeFraction of data reserved for the test set0.2 (20%)
Validation SizeFraction reserved for validation (Train/Val/Test mode only)0.1 (10%)
Random StateSeed for reproducibility42
StratifyKeep class proportions equal across splits (classification only)Off

Split modes

ModeOutput handles
No Split (Full Data)X, y
Train/TestX Train, Y Train, X Test, Y Test
Train/Validation/TestX Train, Y Train, X Val, Y Val, X Test, Y Test

Input / Output

Type
InputDataFrame
OutputSplit Data (separate handles per set)
Enable Stratify for imbalanced classification datasets to ensure every split has a representative distribution of each class.