HF RL Explorer

Task: Implement Stratified Train/Test Split in scikit-learn

Task: Implement Stratified Train/Test Split in scikit-learn: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that demonstrates how to perform a stratified train/test split using scikit-learn, ensuring that the class distribution in the target variable is preserved in both the…

Part of PrimeIntellect/Terminal-Lego-15k.