
Linear Regression Flashcard
Flashcard
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is least appropriate for linear regression?
Predicting house prices, Estimating someone's age from their Spotify playlist, Modelling the relationship between study time and exam scores, Generating random numbers
Back
Generating random numbers
Answer explanation
Generating random numbers is least appropriate for linear regression, as this technique is used for modeling relationships between variables, not for creating random data without a defined relationship.
2.
FLASHCARD QUESTION
Front
True or false: an R squared value of 0.85 means the model explains 85% of the variance in the dependent variable (the thing we are trying to predict)
Back
True
Answer explanation
True. An R squared value of 0.85 indicates that the model explains 85% of the variance in the dependent variable, confirming the statement is correct.
3.
FLASHCARD QUESTION
Front
What situation suggests your model is overfitting?
Back
It performs well on training data but poorly on new data
Answer explanation
The correct choice indicates overfitting when a model excels on training data but fails to generalize to new data, highlighting its inability to capture the underlying patterns effectively.
4.
FLASHCARD QUESTION
Front
What does the RMSE (Root Mean Squared Error) show?
Back
The average size of the prediction errors, in the same units as the target
Answer explanation
RMSE measures the average size of prediction errors, providing a clear indication of accuracy in the same units as the target variable. This makes it easier to interpret the model's performance.
5.
FLASHCARD QUESTION
Front
What is a residual in linear regression?
Back
The difference between the actual value and predicted value
Answer explanation
In linear regression, a residual is defined as the difference between the actual value and the predicted value. It measures how far off the predictions are from the true outcomes, making it a key concept in assessing model accuracy.
6.
FLASHCARD QUESTION
Front
What does it mean if the residuals are spread out randomly around zero?
Back
The model is doing a good job
Answer explanation
If the residuals are spread out randomly around zero, it indicates that the model is capturing the underlying data well without systematic errors, meaning the model is doing a good job.
7.
FLASHCARD QUESTION
Front
What is the purpose of the fit() method in scikit-learn?
Back
To build the regression line based on training data
Answer explanation
The fit() method in scikit-learn is used to build the regression line or model based on the training data provided. It adjusts the model parameters to best capture the underlying patterns in the data.
8.
FLASHCARD QUESTION
Front
What does predict() do in a linear regression model?
Back
Uses the model to estimate target values for new inputs
Answer explanation
The predict() function in a linear regression model uses the trained model to estimate target values for new input data, making it essential for making predictions based on the learned relationships.
9.
FLASHCARD QUESTION
Front
Which of these is NOT an assumption of the linear regression model?
The relationship between the features and the target is linear,
The residuals are normally distributed,
The variance of the residuals is constant (homoscedasticity)
Back
The features are strongly correlated with each other
Answer explanation
The correct choice is 'The features are strongly correlated with each other' because linear regression assumes that features are independent. The other options are valid assumptions of the linear regression model.
Similar Resources on Wayground
9 questions
1000- part 1
Flashcard
•
University
10 questions
Python basics
Flashcard
•
University
10 questions
Disney descendants flashcard
Flashcard
•
KG
10 questions
SUP E3 - PART 1
Flashcard
•
University
5 questions
Elements of Argumentative Essay
Flashcard
•
12th Grade
12 questions
Present perfect Vs past tense
Flashcard
•
University
8 questions
Malnutrition and Food Safety
Flashcard
•
University
11 questions
Genetic Engineering Concepts
Flashcard
•
11th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University