Machine Learning Flashcards

(37 cards)

1
Q

Stages of ML

A

Training → Inference

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

Training

A

learning new capabilities by comparing data features to output labels

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

Features

A

the input used as comparison to the output label

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

Inference

A

using the now trained model to infer new predictions

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

Supervised ML (LABELS,FEATURES) (HAS NONE,ONE,BOTH)

A

both

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

Unsupervised ML (LABELS,FEATURES) (HAS NONE,ONE,BOTH)

A

does not have labels for its features

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

Reinforcement ML (LABELS,FEATURES) (HAS NONE,ONE,BOTH)

A

NONE

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

Types of Supervised Learning based on being…

A

Continuous or Categorical

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

Continuous

A

expressed in a range of values

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

Categorical

A

expressed under a category/name

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

Continuous Use Cases

A

House Prices, Temperature, Height

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

Regression

A

learning relationships between input features and target variables

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

Binary Classification

A

categorizes data into one of two classes (yes,no) (blue,red) (0,1)

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

Multi-Class Classification

A

categorizes data into one of three or more distinct categories

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

Logistic Regression

A

predicts if something is true/false; Binary; Uses a Sigmoid Function to do so

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

Linear Regression

A

Continuous; Regression; takes the aggregated values, draws a plane(line) that can be used to best predict information

17
Q

Reinforcement Learning Components (Ag, Env, Sta, Ac, Po)

A

Agent, Environment, State, Action, Policy

18
Q

Reinforcement Learning Agent

A

interacts w/ environment, takes actions, learns from feedback

19
Q

Reinforcement Learning Environment

A

system where the agent reacts

20
Q

Reinforcement Learning State

A

represents the current situation of the environment at a time

21
Q

Reinforcement Learning Action

A

possible moves/decisions the agent can do in a state

22
Q

Reinforcement Learning Policy

A

mapping the commands the agent uses to decide what action to take

23
Q

Classification

A

for predicting a discrete label/category for each input

24
Q

Uni-variate Linear Regression (Simple Linear Regression)

A

using only one feature to get the correct label

25
Loss Function
a function that computes a numerical value that represents the error in the model’s predictions
26
Loss Function for Supervised ML
Mean-Squared Error (MSE)
27
Mean-Squared Error (MSE)
calculates the square of the difference between predicted & actual values; averaged over all data points; The lower the number the better
28
Numpy
a scientific computing Python library that provides a multi-dimensional array object and fast operations for arrays
29
Multivariate Linear Regression
the use of multiple features for a singular label
30
Correlation
a statistical measure that expresses the extent to which two variables are linearly related
31
Positive Correlation
as one variable increases the other one does
32
Negative Correlation
as one variable increases the other one decreases
33
No Correlation
no relationship
34
Correlation Number Meaning
(-1,1) (1 Positive Correlation) (0 No Correlation) (-1 Negative Correlation)
35
Feature Selection
the process of selecting relevant features to a specified label
36
Data frame
a 2D labeled structure w/ columns of potentially different types
37
Cross-Entropy Loss
the loss function for logistic regression; Measures the error between the predicted probabilities and the actual class labels