Classification Models Flashcards

1
Q

In the context of ML, what is the definition of classification?

A

A type of supervised ML that uses labels to represent a class or category of data

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

How do algorithms for classification work?

A

Algorithms predict the class based on probability not numeric values

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

What are two types of classification algorithms?

A

Binary and multiclass

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

What is binary classification?

A

Using one feature to determine if an object is or isn’t in a certain class. This is also used to say if something is true/false or 1/0

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

How does multiclass classification work?

A

An algorithm classifies or predicts the class of an object from either among multiple classes (2 or more) or if it fits multiple categories (like book and movie genres)

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

What is logistic regression?

A

A type of classification for Boolean (true/false, positive/negative) values.

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

What is the difference between logistic and linear regression?

A

The shape of the curve: Linear is a straight line and logistic is s-shaped. (Optional) This happens happens because logistic regression produces values of 1 or 0 and anything in between is considered a probability (ex: probability of an earthquake could be predicted as 0.3 or 30%)

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

True/False Logistic regression can be applied to situations with 3 or more outcomes

A

True: you would have to use multinomial logistic regression for it.

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

How are classification models assessed?

A

By their output probabilities or the final labels used like saying there is a 20% chance of rain or using the category of ‘rain’, ‘no rain’.

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

What is MSE?

A

Mean squared error

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

How is MSE calculated?

A

By comparing the model’s prediction with the actual label, square the difference, and taking the average of the result.

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

What is the function of log loss and MSE?

A

To calculate cost/loss or how badly a model performs

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

What is the difference between log loss and MSE?

A

Log loss is more demanding than MSE having higher cost/loss for wrong predictions. This is used to make a model learn faster.

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

What is the limitation of single cost functions?

A

It doesn’t tell you what kind of mistakes the model is making, just that its making them.

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