User Guide
API Reference
train_test_split()
Split arrays into random train and test subsets.
X (jnp.ndarray) – Input features.
y (jnp.ndarray) – Target labels.
test_size (float) – Proportion of the dataset to include in the test split (0.0 to 1.0).
shuffle (bool) – Whether to shuffle the data before splitting.
random_state (int, optional) – Random seed for reproducibility.
X_train, X_test, y_train, y_test
Tuple