Classification Flashcards

1
Q

Classification

A

Regression, compute model using known data that will perform well on unknown data

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

Evaluation

A
Accuracy
Speed
Robustness
Scalability
Interpretability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Logistic Regression

A

Score(xi) = sum(wj*hj(xi))
yi = sign(Score(xi))
No compute the label, computes probability of assigning a class
P(yi = +1|xi) = 1/(1+e^(-score(xi)))
Search for the weight vector highest likelihood

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

Overfitting and Regularization

A

L1 & L2
L1: sum of absolute values l(w)-alpha||w||_1
L2; sum of squares l(w)-alpha||w||_2^2

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

K-fold crossvalidation

A

Generates k separate models
Evaluation on model performance on unknown data
Output its the evaluation, not the model

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

Multiclass Classification

A
Logistic works with two class values
One versus the rest.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Categorical Attributes

A

One Hot encoding

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

Support Vector Machines

A

w^T + b = 0
Hyperplane that maximizes the maargin or largest y
yi(w*xi+b) >

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

Neural Networks

A

wi*xi - b
Perceptron: value of weighted sum and returns its Sign
Basically a linear classifier, decision is hyperplane
Activation function: linear (regression), sigmoid, tanh (classification)

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