Terminology Week 1 Flashcards

1
Q

Describe linear regression.

A

A technique to find a relation between one or many input variables and an output variable.
A technique to find a line to best fit a set of points.

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

Describe a linear function?

A
y = w*x + b
y = predicted value (predicated label)
x = input variable (feature)
w = weight (weight vector, gives the slope)
b = initial bias
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the notion of loss.

A

How well does our line predict an example.
How far away is the data point from the line.
Loss is a number indicating how bad the model’s prediction was on a single example.

We can describe the loss as the difference between the prediction of the value (a dot on the line) and the actual value (the example).

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

How can you call the L2 loss function?

A

Also called squared loss.

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

How can you call the squared loss function?

A

L2 loss function

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

Describe the L2 loss function? And how is it calculated for a data set?

A

It is the square of the difference between the predicated value (predication) and the true value (label).

We don’t care about the loss of a single value. We want to minimise the loss across our entire data set.

Sum of all squared differences (predicated - example)

Often devided by the number of examples in the data s = average square loss = Mean square error = MSR

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

What doe Infer mean?

A

To predict

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

What is linear regression (google definition)?

A

A type of regression model that outputs a continuous value from a linear combination of input features.

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

What is Inference (google definition)?

A

In machine learning, often refers to the process of making predictions by applying the trained model to unlabeled examples. In statistics, inference refers to the process of fitting the parameters of a distribution conditioned on some observed data.

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

What does training a model mean?

A

Training a model simply means learning (determining) good values for all the weights and the bias from labeled examples. In supervised learning, a machine learning algorithm builds a model by examining many examples and attempting to find a model that minimizes loss; this process is called empirical risk minimization.

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

Describe MSE.

A

Mean square error = average squared loss

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