Skip to main content
🔮 Output PredictionAI AI & ML Easy⚡+10 XP

Train-Test Split

What does test_size=0.2 mean?

AI & ML
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)

🔮 What is the output?