DM Exam 1

studied byStudied by 3 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 25

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

26 Terms

1

Error(E)=

y_i-(mx_i+b)

New cards
2

Standard Error(SE)=

(\frac{var(E)}{var(x)})^{\frac{1}{2}}

New cards
3

95\% Confidence Interval=

m \pm t(1-\frac{\alpha}{2},n-2)\cdot SE

New cards
4

We reject the null hypothesis when…

…the p-value is less than or equal to 0.05 or the confidence interval doesn’t include 0.

New cards
5
<p>This target has a…</p>

This target has a…

…low bias, high variance.

New cards
6
<p>This target has a…</p>

This target has a…

…high bias, high variance.

New cards
7
<p>This target has a…</p>

This target has a…

…low bias, low variance.

New cards
8
<p>This target has a…</p>

This target has a…

…high bias, low variance.

New cards
9

Empirical Distribution Steps:

Take a random sample of length l with replacement.
Perform function.
Append to sample list.
Repeat n times.

New cards
10

Exploratory Data Analysis Steps:

Question
Investigate
Interpret
Ask more questions

New cards
11

Average Error=

\frac{1}{n}\sum E

New cards
12

Variance=

\frac{1}{n}\sum (x_i - avg(x))²

New cards
13

Mean Absolute Error (MAE)=

\frac{1}{n}\sum |E|

New cards
14

\frac{d}{dx}|x|=

\frac{x}{|x|}

New cards
15

Gradient Descent=

\theta_{t+1}=\theta_t - \alpha \cdot \frac{d}{d\theta} L(y,\hat{y})

New cards
16

The difference between Gradient Descent and OLS is…

…Gradient Descent sets m and b multiple times and uses the derivative of the gradient, while OLS relies heavily on matrix operations and sets m and b once.

New cards
17

MAE introduces bias by…

…treating all errors as positive, meaning the total error only gets added to, not subtracted from.

New cards
18

Stochastic Gradient Descent differs from Gradient Descent by…

…only using a small, random subset of the population each iteration.

New cards
19

Correlation

The measure of how much a variable will change given the change of another variable.

New cards
20

Error

The difference between the real value and the predicted value.

New cards
21

A model with high correlation and a high error…

…has variables that are very related to each other, but the model itself is an inaccurate predictor.

New cards
22

A model with a low correlation and a low error…

…is an accurate predictor, but uses variables that are unrelated to each other.

New cards
23

P(x|y)=

\frac{P(y|x)P(x)}{P(y)}

New cards
24

Given P(x|y) and P(y), P(x)=

P(x|y)P(y)

New cards
25

When given a large dataset, Gradient Descent can be faster than OLS because…

…OLS relies heavily on expensive matrix operations, while Gradient Descent relies on looping and the derivative of the loss function.

New cards
26

OLS achieves the line of best fit by…

…taking the derivative of the loss function with respect to each parameter, setting it to 0, and solving for the parameter.

New cards

Explore top notes

note Note
studied byStudied by 56 people
145 days ago
5.0(2)
note Note
studied byStudied by 9 people
751 days ago
5.0(1)
note Note
studied byStudied by 51 people
758 days ago
5.0(2)
note Note
studied byStudied by 22 people
968 days ago
4.5(2)
note Note
studied byStudied by 7 people
569 days ago
5.0(1)
note Note
studied byStudied by 1 person
809 days ago
5.0(1)
note Note
studied byStudied by 36 people
720 days ago
5.0(1)
note Note
studied byStudied by 10144 people
699 days ago
4.6(60)

Explore top flashcards

flashcards Flashcard (27)
studied byStudied by 21 people
141 days ago
5.0(3)
flashcards Flashcard (97)
studied byStudied by 18 people
843 days ago
5.0(1)
flashcards Flashcard (61)
studied byStudied by 5 people
94 days ago
5.0(1)
flashcards Flashcard (75)
studied byStudied by 8 people
724 days ago
5.0(2)
flashcards Flashcard (20)
studied byStudied by 2 people
15 days ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 19 people
719 days ago
5.0(1)
flashcards Flashcard (48)
studied byStudied by 39 people
407 days ago
5.0(1)
flashcards Flashcard (278)
studied byStudied by 172 people
134 days ago
5.0(1)
robot