1. Learn
  2. /
  3. คอร์ส
  4. /
  5. Marketing Analytics: Predicting Customer Churn in Python

Connected

แบบฝึกหัด

Check each sets length

Just to make sure train_test_split() worked as you expected it to, check the lengths of X_train and X_test to see how many records are in each set. You can use functions like len() or attributes like .shape to explore this.

คำแนะนำ

50 XP

คำตอบที่เป็นไปได้