WEEK Five Flashcards

1
Q

Classifying a new case in BN

A

Take value for all of the attributes and introduce it as evidence- clamp the corresponding BN node to that value

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

Goal of a classifier

A

To predict an outcome class based on a set of attributes

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

Describe Machine Learning (ML)

A

Learning from experience with respect to task and performance measures

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

Model Training Process

A

Modifies overtime as you learn something- trying to build a better representation of the data
It is going to classify something for us

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

Model Testing Process

A

Makes a prediction without seeing the actual answer.
The human has access to the answer to know if the model is right or not.
Ex. Self driving cars.

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

Model Application

A

Model is used on data where the answer is not known

First we train, then we test, then we model application

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

What data to use for training vs testing- Holdout Method

A

Split the data into a training and testing set

Typically use more data for training than testing - but various splits possible

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

What data to use for training vs testing- Cross Validation Method

A

Equal size parts (folds)

We train and test on every portion of the data then calculate the average of all 4.

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

Calculating Accuracy & The Limitations

A
# of correctly classified cases/ total number of cases 
Does not tell us how good the model is at predicting a certain class just tells us about the overall model of performance. 

Can be correct: When it predicts __ and is is __
Can be incorrect: When it predicts __ but it is actually ___

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

Confusion Matrix

A
How good is the model at making predictions 
Fine grain information on a performance for the class under consideration. 
P REFERS TO THE MODEL UNDER PREDICTION 
N MEANS THE MODEL DIDN'T PREDICT IT 
TP - Predicts robin, it is robin 
TN- Predicts not robin, it is not robin 
FP- Predicts robin, it is a raven 
FN- Predicts not a robin, is a robin
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Baseline Model

A

Predicts the most frequent outcome without taking into account any attributes- predicts the more frequent outcome

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

True positive rate (TPR)

A

True Positives/ True positives + false negatives

Good to have a high true positive rate- its predicting what it is supposed to predict. False Negatives have to be low in order to have a high TPR

Note * TPR is not TP

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

True Negative Rate (TNR)

A

True negatives / True negatives + false positives

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