Stat Modeling Exam 1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/73

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:20 AM on 10/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

74 Terms

1
New cards

Machine Learning

The field of study that gives computers the ability to learn without being explicitly programmed.

2
New cards

Training Set

The examples used to teach/learn the model.

3
New cards

Training Instance

One example in the training set.

4
New cards

Label

The desired output for a training instance.

5
New cards

Feature

An input variable/attribute used by the model to make a prediction.

6
New cards

Inference

Using a trained model to make predictions on new data.

7
New cards

Supervised Learning

Learning from labeled training data.

8
New cards

Unsupervised Learning

Learning from data without labeled outputs.

9
New cards

Reinforcement Learning

An agent observes an environment, takes actions, and receives rewards or penalties to learn a policy that maximizes cumulative rewards

10
New cards

Classification

Predicting a discrete/categorical class.

11
New cards

Regression

Predicting a numerical/continuous value.

12
New cards

Instance-Based Learning

A method that learns examples and uses similarity to make predictions on new instances.

13
New cards

Model-Based Learning

A method that builds a model of the data and uses that model to make predictions.

14
New cards

Generalization

A model's ability to perform well on new, unseen data.

15
New cards

Sampling Bias

When the training data is not representative of the population/data the model will encounter.

16
New cards

Overfitting

When a model fits the training data too closely and performs poorly on new data

17
New cards

Underfitting

When a model is too simple to capture the patterns in the data.

18
New cards

Regularization

Constraining a model to make it simpler and reduce overfitting.

19
New cards

Model Parameter

A value learned by the model from the training data.

20
New cards

Hyperparameter

A value set by the practitioner rather than learned directly from the training data.

21
New cards

Training Set

Data used to train the model.

22
New cards

Validation Set

Held-out data used to evaluate/tune models and hyperparameters during development.

23
New cards

Test Set

Data held aside for the final evaluation of the model.

24
New cards

Data Snooping Bias

Bias that occurs when information from the test set influences model development.

25
New cards

Why never tune on the test set?

It can make the model appear better than it actually is on unseen data.

26
New cards

RMSE (Root Mean Square Error)

Measures prediction error by taking the square root of the average squared errors.


<p>Measures prediction error by taking the square root of the average squared errors.</p><p></p>
27
New cards

MAE (Mean Absolute Error)

Measures the average absolute prediction error.

<p><span>Measures the average absolute prediction error.</span></p>
28
New cards

Pearson Correlation Coefficient

Measures the linear relationship between two variables; ranges from −1 to +1.

29
New cards

Feature Engineering

Creating or transforming features to make them more useful for a model.

30
New cards

Missing Values

Data entries that are absent; can be handled by dropping rows/attributes or imputing values.

31
New cards

Imputation

Replacing missing values with an estimated value, such as the median.

32
New cards

One-Hot Encoding

Converts a categorical attribute with \(k\) categories into \(k\) binary attributes, with only one being 1 at a time.

33
New cards

Min-Max Scaling

Rescales values to a specified range, commonly [0,1].

<p><span>Rescales values to a specified range, commonly [0,1].</span></p>
34
New cards

Standardization

Rescales data to have approximately mean 0 and standard deviation 1.

<p><span>Rescales data to have approximately mean 0 and standard deviation 1.</span></p>
35
New cards

Transformer

An object that learns how to transform data; uses fit() and transform().

36
New cards

Estimator

A model/object that learns from data using fit().

37
New cards

Predictor

An estimator that can make predictions using predict().

38
New cards

Pipeline

A sequence of data-processing steps chained together.

39
New cards

K-Fold Cross-Validation

Splits training data into \(k\) folds and repeatedly trains/evaluates using different folds as validation data.

40
New cards

Why fit transformations only on training data?

To prevent information from the test set from leaking into the model.

41
New cards

Binary Classification

Classification between exactly two classes

42
New cards

Multiclass Classification

Classification involving more than two classes

43
New cards

One-vs-Rest (OvR)

Creates one classifier for each class, where that class is positive and all other classes are negative.

<p><span>Creates one classifier for each class, where that class is positive and all other classes are negative.</span></p>
44
New cards

One-vs-One (OvO)

Creates a classifier for every pair of classes.

<p><span>Creates a classifier for every pair of classes.</span></p>
45
New cards

Confusion Matrix

A table showing actual vs. predicted classifications

<p><span>A table showing actual vs. predicted classifications</span></p>
46
New cards

True Positive (TP)

Actual positive, predicted positive.

47
New cards

True Negative (TN)

Actual negative, predicted negative.

48
New cards

False Positive (FP)

Actual negative, predicted positive.

49
New cards

False Negative (FN)

Actual positive, predicted negative.

50
New cards

Accuracy

Fraction of all predictions that are correct.

<p><span>Fraction of all predictions that are correct.</span></p>
51
New cards

Precision

Of the examples predicted positive, how many were actually positive?

<p><span>Of the examples predicted positive, how many were actually positive?</span></p>
52
New cards

Recall

Of the actual positives, how many did the model correctly identify?

<p><span>Of the actual positives, how many did the model correctly identify?</span></p>
53
New cards

F1 Score

Harmonic mean of precision and recall.

<p><span>Harmonic mean of precision and recall.</span></p>
54
New cards

Decision Score

A numerical score produced by a classifier that can be compared with a threshold.

55
New cards

Threshold

The cutoff used to determine whether a prediction is classified as positive or negative.

56
New cards

Precision/Recall Trade-Off

Increasing the threshold generally increases precision but decreases recall; lowering it generally increases recall but decreases precision.

57
New cards

ROC Curve

A plot of True Positive Rate (recall) against False Positive Rate at different thresholds.

58
New cards

False Positive Rate (FPR)

Fraction of actual negatives incorrectly classified as positive.

<p><span>Fraction of actual negatives incorrectly classified as positive.</span></p>
59
New cards

AUC

Area Under the ROC Curve; measures overall classifier performance across thresholds.

  • AUC = 1 → perfect

  • AUC ≈ 0.5 → random


60
New cards

PR Curve

Precision-Recall curve; often more informative than ROC when positive examples are rare.

61
New cards

Linear Regression

A model that predicts a numerical output as a linear combination of input features.

62
New cards

Parameter Vector θ

The vector containing the coefficients/parameters of the linear regression model.

63
New cards

Vector Form of Linear Regression

y^ = θTx

64
New cards

Matrix Form

y^ = xθ

65
New cards

MSE (Mean Squared Error)

Average of the squared prediction errors.

<p><span>Average of the squared prediction errors.</span></p>
66
New cards

Cost Function

A function measuring how poorly a model performs; training seeks to minimize it.

67
New cards

Normal Equation

A closed-form method for finding the parameters that minimize linear regression MSE.

<p><span>A closed-form method for finding the parameters that minimize linear regression MSE.</span></p>
68
New cards

Gradient Descent

An optimization method that repeatedly moves parameters in the direction that decreases the cost function.

69
New cards

Gradient

The direction and rate of steepest increase of the cost function.

70
New cards

Learning Rate η

Controls the size of each Gradient Descent step.

71
New cards

Gradient Descent Update Rule

knowt flashcard image
72
New cards

Learning Rate Too Small

Gradient Descent converges very slowly.

73
New cards

Learning Rate Too Large

The algorithm can overshoot the minimum or diverge

74
New cards

Stopping Criterion

A condition used to decide when Gradient Descent should stop, such as when the gradient becomes sufficiently small.