ML Flashcards

1
Q

Learning definition

A

“Learning is any process by which a system improves performance from experience.”

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

ML definition

A

Machine Learning is the study of algorithms that:
* improve their performance P
* at some task T
* with experience E
A well-defined learning task is given by <P, T, E>.

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

Difference btwn traditional programming and ML

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

Why is ML needed?

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

Skills required for ML

A

Machine Learning requires:
- Mathematics
- Algorithms
- Programming
Otherwise, you may just use it as a black box

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

Steps 2 design ML system

A
  1. Formulating the problem (the learning task)
  2. Data collection
  3. Features extraction
  4. Choosing the suitable class of learning model
  5. Training the model
  6. Model evaluation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Types of ML

A

Supervised Learning:
- Given: training data + desired outputs (labels)
- Unsupervised Learning:
- Given: training data (without labels)
- Reinforcement Learning:
- Given: observations and periodic rewards as the agent takes sequential action in an
environment

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

What is supervised learning

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

Types of supervised learning

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

Real life examples of regression

A
  • Medical field: understanding the relationship between drug dosage and the blood pressure of
    patients.
  • Agriculture field: measuring the effect of fertilizer and water on crop yields.
  • Businesses: understanding the relationship between advertising spending and revenue.
  • Real Estate Industry: predicting house prices while considering some features such as the area
    of the house, the number of rooms, the view, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Regression algorithms

A
  • Linear Regression
  • Regression Trees
  • Random Forest
  • K-Nearest Neighbors (KNN)
  • Support Vector Regression (SVR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

classification algorithms

A
  • Logistic Regression
  • K-Nearest Neighbors (KNN)
  • Support Vector Machine (SVM)
  • Decision Trees
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

evaluation matrices 4 regression

A
  • Mean Absolute Error
  • Mean Squared Error
  • Root Mean Squared Error
  • Explained Variance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

evaluation matrices 4 classification

A
  • True positives:
  • True negatives:
  • False positives:
  • False negatives:
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

formulas of mean squared error; accuracy; precision; recall

A

mse = 1/all*sum(true-pred)^2
accuracy = correct prediction / all
precision = TP/TP+FP
recall = TP/TP+FN

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