What is the purpose of splitting the dataset into training and testing sets? (Choose 2)

Review Weeks 1-3

Quiz
•
Computers
•
University
•
Medium
Emily Anne
Used 3+ times
FREE Resource
58 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
To test how well the model generalizes
To evaluate the model on unseen data
To improve training speed
To split the features from the target
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to split a dataset into training and testing sets in scikit-learn?
train_test_split()
split_train_test()
train_test()
split()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What parameter in train_test_split() controls the ratio of the test set size?
test_size
test_ratio
split_ratio
test_split
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data does the predict() method return in most ML models?
Raw data
Predictions for target variables
Evaluation metrics
Training errors
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In classification tasks, what does predict_proba() return?
Class labels
Class probabilities
Predictions with errors
Confusion matrix
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the fit() method do in a machine learning model?
Evaluates the model on the test data
Prepares the data for testing
Trains the model using training data
Makes predictions
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of feature scaling in machine learning?
To normalize target variables
To improve model interpretability
To ensure features are on the same scale
To remove outliers
Create a free account and access millions of resources
Similar Resources on Wayground
60 questions
U23CS381 - ADD QUIZ Assessment

Quiz
•
University
59 questions
ICT_Test

Quiz
•
University
60 questions
Network Models

Quiz
•
University
54 questions
Machine Learning Quiz

Quiz
•
University
63 questions
Artificial Neural Networks Quiz

Quiz
•
University
57 questions
IMD222 Memory Module

Quiz
•
University
60 questions
Jaringan Komputer

Quiz
•
University
60 questions
AI-900 Azure AI Fundamentals

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade