Regression Model Flashcards

1
Q

Training set

A

Data used to train the model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

x =

A

“input” variable feature

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

y =

A

“output” or “target” variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

m =

A

number og training examples

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

m =

A

number of training examples

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

f

A

the model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

prediction

A

estimated y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

linear function

A

f(x) = wx + b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Univariate linear regression

A

One variable linear regression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Cost function

A

Tells us how well the model is doing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Cost function

A

Tells us how well the model is doing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Goal of cost function

A

Minimize J(w,b)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Gradient descent

A

Cost function
Start up and go down to try to get J to be smaller J(w,b)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Important about gradient descent implimentation

A

Simultaneously update w and b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

If learning rate is to small

A

You take very small baby steps, so you do decrease w and b but,
Gradient descent may be slow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

If learning rate is to large

A

You might miss your spot, so the cost might get worse

Gradient descent may : Overshoot, never reach mininum, fail to converge

17
Q

convex function

A

global minimum not local
bowl shape function

18
Q

Batch gradient descent

A

Each step of gradient decent uses all the training examples