
Linear Regression Flashcard

Flashcard
•
Information Technology (IT)
•
University
•
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
7 questions
Circular Flow Diagram

Flashcard
•
12th Grade
15 questions
Linear Regression Models and Residuals

Flashcard
•
12th Grade
10 questions
Challenging ML Concepts Flashcard for Beginners

Flashcard
•
University
15 questions
Workshop: Correlation and Regression

Flashcard
•
University
10 questions
Big Data & Analytics Flashcard

Flashcard
•
University
9 questions
Software Development

Flashcard
•
Professional Development
15 questions
Linear Regression Models and Residuals

Flashcard
•
12th Grade
15 questions
7.4 Linear Regression Lesson Check

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University