Machine Learning (Coursera, Andrew Ng) Flashcards

1
Q

Usages for Machine Learning?

A

Applications cant program by hand

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

Examples of Database mining?

A

Making sense of web-click data, medical records

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

Making sense of web-click data is about?

A

Data Mining

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

Making sense of medical records is about?

A

Data Mining

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

Amazon/Netflix recommendations is an example of?

A

Self-customizing programs

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

Field of study that gives computers the ability to learn without being explicitly programmed?

A

Machine Learning

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

A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, measured by P, improves with experience E?

A

Well-posed Learning Problem

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

What is Machine Learning?

A

Field of study that gives computers the ability to learn without being explicitly programmed

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

What is Well-posed Learning Problem?

A

A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, measured by P, improves with experience E

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

Two broad classifications in ML?

A

Supervised Learning - Unsupervised Learning

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

What problems Supervised Learning solves?

A

Given the data to learn on - can we predict the future results?

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

What problems Unsupervised Learning solves?

A

Given a dataset - can we find some structure?

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

The ML Problems?

A

Regression, Classification, Clustering

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

Regression?

A

Predict continuous value output

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

Classification?

A

Predict discrete value output

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

Clustering?

A

Grouping the set of inputs together

17
Q

To what ML Problems corresponds - Price Prediction?

A

Regression

18
Q

In Regression problem what does m stand for?

A

Number of training examples

19
Q

In Regression problem what does x stand for?

A

Input feature

20
Q

In Regression problem what does y stand for?

A

Output variable

21
Q

In Regression problem what does h stand for?

A

Hypothesis function

22
Q

Examples for Regression Application?

A

Price prediction

23
Q

Formula for linear regression?

A

h(x) = theta0 + theta1 * x

24
Q

Purpose of cost function?

A

Estimate correctness of our hypothesis function

25
Squared error cost function?
https://www.codecogs.com/eqnedit.php?latex=J(%5Ctheta_0%2C%20%5Ctheta_1)%20%3D%20%5Cfrac%7B1%7D%7B2m%7D%20%5Csum_%7Bi%3D1%7D%5Em(%20%5Chat%7By%7D_i%20-%20y_i%20)%5E2%20%3D%20%5Cfrac%7B1%7D%7B2m%7D%20%5Csum_%7Bi%3D1%7D%5Em(%20h_%5Ctheta%20(x_i)%20-%20y_i)%5E2
26
How we choose parameters for linear regression?
In order to minimize the difference between hypothesis and real value
27
What is Gradient Descent?
Minimization Algorithm
28
What does "Batch Gradient Descent" mean?
All training examples are analyzed on each step
29
How does Gradient Descent Algorithm look like?
repeat until convergence { } where j=0,1 represents the feature index number. (Simultaneous assignment)
30
What happens if learning rate of Gradient Descent is too small?
It might take a lot of steps before convergence
31
What happens if learning rate of Gradient Descent is too big?
It may fail to converge, or even diverge
32
Can Gradient Descent converge with fixed learning rate?
Yes
33
Why Gradient Descent converges with fixed learning rate?
Because derivative is changing as we approach the minimum