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 task that predicts a numerical target from one or more input features.

02
Front

In a regression dataset, what are features and the target?

Back

Features are the input information, such as floor area or bedroom count; the target is the numerical value to predict, such as sale price.

03
Front

How does a mean baseline make predictions?

Back

A mean baseline predicts the average target observed in the training data for every example. It provides a simple reference for judging whether a model is useful.

04
Front

What does the area coefficient mean in the rent model?

Back

Linear regression predicts a target as a weighted sum of features. In the rent example, the area coefficient of 18 means the model adds 18 currency units per additional square meter.

05
Front

What do Ridge and Lasso add to linear regression?

Back

Ridge and Lasso penalize coefficient size, which can help with many features or overlapping information. Lasso can also shrink some coefficients to zero.

06
Front

How does a decision-tree regressor form predictions?

Back

A decision-tree regressor repeatedly divides examples according to feature values and predicts a value for each resulting group.

07
Front

How do random forests and gradient-boosted trees differ?

Back

Random forests average predictions from many trees. Gradient-boosted trees build trees in sequence to improve predictions.

08
Front

What does a regression residual measure?

Back

A residual is the actual value minus the prediction: y−y^y-\hat{y}. A positive residual means the model predicted too low; a negative one means it predicted too high.

09
Front

Name conditions that can make regression predictions unreliable.

Back

Predictions may be unreliable when inputs differ greatly from training examples, important features are missing, or the data's patterns change.

10
Front

How should you assess whether a regression model generalizes?

Back

A prediction far outside the training-data range is an extrapolation and may not be realistic. Use held-out data to assess how well the model generalizes.

11
Front

How does regression differ from classification?

Back

Regression predicts a quantity that can vary across values; classification predicts a category.

12
Front

What does ordinary least squares minimize?

Back

Ordinary least squares chooses linear-model coefficients to minimize the sum of squared differences between observed and predicted targets.