Free Online Flashcard Deck

4 Regression Free Online FlashCards

Study 4 Regression with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does regression predict?

Back

Regression is a supervised learning method that uses features to predict a numeric target.

02
Front

What does ordinary least squares minimize?

Back

Ordinary least squares chooses coefficients that minimize the sum of squared differences between actual and predicted targets.

03
Front

Why keep a test set separate from training?

Back

Fit the model using only the training set. Keep the test set separate to estimate performance on examples the model did not train on.

04
Front

What does mean absolute error (MAE) measure?

Back

Mean absolute error is the average absolute prediction error. It is expressed in the target's units.

05
Front

What do the sign of a residual tell you?

Back

A residual is the actual target minus the predicted target. A positive residual means the model predicted too low; a negative residual means it predicted too high.

06
Front

What does an R2R^2 of 00 mean on a test set?

Back

An R2R^2 of 00 means the model performs as well as predicting the test-set mean.

07
Front

What do fit and predict do in a regression workflow?

Back

fit learns the model parameters from training data; predict uses the fitted model to produce targets for new feature rows.

08
Front

In regression, what are a feature and a target?

Back

A feature is an input value used for prediction; the target is the numeric value the model learns to predict.

09
Front

What does the $250 slope mean in the home-price example?

Back

In the example, the model associates each additional square foot with a $250 increase in predicted price.

10
Front

What does a linear model's intercept represent?

Back

The intercept is the prediction when the feature is zero. It may have little practical meaning if zero is outside the useful data range.

11
Front

How should you interpret a coefficient in a multiple-feature model?

Back

It describes the model's predicted change for that feature while holding the other included features fixed; it does not prove causation.

12
Front

How does RMSE treat large errors compared with MAE?

Back

Root mean squared error is expressed in the target's units and penalizes large errors more strongly than MAE.