Machine Learning Flashcards

1
Q

3 Main Types of ML

A
  1. Supervised
  2. Unsupervised
  3. Reinforcement Learning
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Examples of Supervised ML Algorithms

A
  • Linear Regression
  • Logistic Regression
  • KNN
  • SVM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Examples of Unsupervised ML Algorithms

A

K-Means Clustering

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

Examples of Reinforcement Learning Algorithms

A

Q-Learning

SARSA

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

What is Reinforcement Learning?

A

An agent interacts with its environment by producing actions and discovers errors or rewards

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

What is the field of ML about?

A

Parsing data, learning from data to make informed decisions about data.

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

Classification vs Regression

A
  • Classification is the task of predicting a discrete class label (e.g. email spam or non-spam)
  • Regression is the task of predicting a continuous quantity (e.g. predicting stock market prices)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Selection bias

A
  • Statistical error that occurs in sampling portion of experiment
  • Means one group is sampled more than other groups
  • Usually produces inaccurate results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Recall

A

TP / P

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

Precision

A

TP / TP + FP

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

Confusion Matrix

A

A confusion matrix or an error matrix is a table which is used for summarizing the performance of a classification algorithm.

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

Inductive vs Deductive Learning

A

Inductive - using observations to draw conclusions
(data -> model)

Deductive - using conclusions to form observations (model to predictions)

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

KNN vs K-Means Clustering

A
  • kNN is supervised ML, classification/regression, k is the number of neighbours
  • K-Means clustering is unsupervised ML where k is the number of clusters the algo is trying to identify
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Type 1 Error

A

False Positive

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

Type 2 Error

A

False Negative

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