Week 1 Flashcards

1
Q

Supervised learning

A

learning has input and output. its a matter of finding a mapping from f(x) => y

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

Unsupervised learning

A

learning has no mapping. data is given as input and algorithm tries to find meaning in it

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

Problems where result is one of different labels

A

classification

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

Problems where result is a real value (dollars, weight)

A

regression

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

fit a straight line through data to make a prediction

A

linear regression

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

2 types of supervised learning problems

A

classification, regression

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

m

A

training examples

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

x’s

A

input variables / features

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

y’s

A

output variables / target variable

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

(x, y)

A

one training example (x,y data point)

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

(x^i, y^i)

A

i’th training example (x,y data point)

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

h : x –> y

A
hypothesis function (classifier ??):
maps x's to y's
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

nother name for “input” variables

A

input features

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

nother name for “output” variable

A

target variable

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

A pair (x^i, y^i) is called a ___

A

training example

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

A set of training examples is called a ___

A

training set

17
Q

X (uppercase) represents

A

the space of input values

18
Q

Y (uppercase) represents

A

the space of output values

19
Q

theta values are also called ___

A

parameters

20
Q

square error cost function

A

1/2m * sum(h(x)^i - y^i)^2

21
Q

J(theta0, theta1…)

A

cost function we want to minimize