Search Header Logo
Discuss the importance of data : Test-Train split in Python

Discuss the importance of data : Test-Train split in Python

Assessment

Interactive Video

Information Technology (IT), Architecture, Social Studies

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial explains the concept of test train split, a method used to divide data into training and testing sets, typically in an 80-20 ratio. It highlights the importance of using the sklearn library for this process and introduces the random set parameter to ensure consistent data splits for model evaluation. The tutorial also covers the outputs of the train test split function, including X train, X test, Y train, and Y test, and their roles in model training and evaluation.

Read more

3 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe the outputs you get from the train test split function.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Why is it important to check the shape of your training and testing data?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What should be the relationship between the number of observations in X train and X test?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?