machine learning chapter 2 & 3

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/20

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

The typical error size a model makes in predictions; penalizes large errors more heavily.

What does RMSE (Root Mean Square Error) measure?

2
New cards

When outliers are rare, since RMSE is more sensitive to large errors.

When is RMSE preferred over MAE?

3
New cards

The average magnitude of errors, treating all errors equally.

What does MAE (Mean Absolute Error) measure?

4
New cards

When the dataset has many outliers, since it’s less sensitive to them.

When is MAE preferred?

5
New cards

It ensures that each subgroup (stratum) of the population is fairly represented in both sets.

Why is stratified sampling important when splitting train/test sets?

6
New cards

How strongly two numerical features are linearly related (ranges from -1 to +1).

What does the Pearson Correlation Coefficient tell us?

7
New cards

Estimator: trained with .fit(); Transformer: has .transform(); Predictor: has .predict().

In Scikit-Learn, what are estimators, transformers, and predictors?

8
New cards

To chain preprocessing steps and model training into one workflow.

What is the purpose of a Scikit-Learn Pipeline?

9
New cards

A method to evaluate a model by splitting data into k folds and rotating which fold is the test set.

What is K-Fold Cross Validation?

10
New cards

Tests combinations of hyperparameters to find the best performing set.

What does Grid Search do in ML?

11
New cards

To show how many predictions were correct or incorrect across classes (TP, TN, FP, FN).

What is the purpose of a confusion matrix?

12
New cards

The model correctly predicts a positive instance.

What does a True Positive (TP) mean?

13
New cards

The model incorrectly predicts positive for a negative instance.

What does a False Positive (FP) mean?

14
New cards

Out of all predicted positives, how many were actually correct.

What does Precision measure?

15
New cards

Out of all actual positives, how many the model correctly identified.

What does Recall measure?

16
New cards

Increasing precision usually lowers recall, and increasing recall usually lowers precision.

What is the Precision–Recall trade-off?

17
New cards

The trade-off between the True Positive Rate (recall) and the False Positive Rate across thresholds.

What does the ROC curve show?

18
New cards

Predicting one label from more than two classes (e.g., digits 0–9).

What is multiclass classification?

19
New cards

One-vs-Rest (OvR) and One-vs-One (OvO).

What strategies are used for binary classifiers to handle multiclass?

20
New cards

Predicting multiple binary labels for one instance (e.g., 'movie is funny' and 'movie is romantic').

What is multilabel classification?

21
New cards

A generalization where each label can take multiple values (e.g., predicting multiple pixels with multiple intensity levels).

What is multioutput classification?