Model Evaluation for Classification model

4 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€47.48
List Price:  €66.48
You save:  €18.99
£39.63
List Price:  £55.48
You save:  £15.85
CA$70.23
List Price:  CA$98.33
You save:  CA$28.09
A$77.04
List Price:  A$107.87
You save:  A$30.82
S$67.12
List Price:  S$93.98
You save:  S$26.85
HK$388.99
List Price:  HK$544.62
You save:  HK$155.62
CHF 44.08
List Price:  CHF 61.72
You save:  CHF 17.63
NOK kr554.73
List Price:  NOK kr776.67
You save:  NOK kr221.93
DKK kr354.14
List Price:  DKK kr495.83
You save:  DKK kr141.68
NZ$84.83
List Price:  NZ$118.77
You save:  NZ$33.93
د.إ183.61
List Price:  د.إ257.07
You save:  د.إ73.45
৳5,988.82
List Price:  ৳8,384.83
You save:  ৳2,396.01
₹4,220.94
List Price:  ₹5,909.65
You save:  ₹1,688.71
RM222.08
List Price:  RM310.93
You save:  RM88.85
₦84,358.62
List Price:  ₦118,108.82
You save:  ₦33,750.20
₨13,925.02
List Price:  ₨19,496.15
You save:  ₨5,571.12
฿1,725.77
List Price:  ฿2,416.22
You save:  ฿690.45
₺1,732.27
List Price:  ₺2,425.32
You save:  ₺693.04
B$290.85
List Price:  B$407.22
You save:  B$116.36
R905.24
List Price:  R1,267.41
You save:  R362.16
Лв92.99
List Price:  Лв130.20
You save:  Лв37.20
₩69,621.67
List Price:  ₩97,475.91
You save:  ₩27,854.24
₪182.39
List Price:  ₪255.36
You save:  ₪72.97
₱2,936.03
List Price:  ₱4,110.68
You save:  ₱1,174.64
¥7,568.45
List Price:  ¥10,596.44
You save:  ¥3,027.98
MX$1,034.13
List Price:  MX$1,447.86
You save:  MX$413.73
QR182.73
List Price:  QR255.83
You save:  QR73.10
P683.73
List Price:  P957.28
You save:  P273.54
KSh6,473.70
List Price:  KSh9,063.70
You save:  KSh2,590
E£2,482.75
List Price:  E£3,476.05
You save:  E£993.30
ብር6,271.59
List Price:  ብር8,780.73
You save:  ብር2,509.13
Kz45,573.91
List Price:  Kz63,807.13
You save:  Kz18,233.21
CLP$48,875.22
List Price:  CLP$68,429.22
You save:  CLP$19,554
CN¥362.21
List Price:  CN¥507.13
You save:  CN¥144.91
RD$3,021.37
List Price:  RD$4,230.16
You save:  RD$1,208.79
DA6,683.02
List Price:  DA9,356.77
You save:  DA2,673.74
FJ$113.48
List Price:  FJ$158.89
You save:  FJ$45.40
Q386.79
List Price:  Q541.54
You save:  Q154.74
GY$10,485.09
List Price:  GY$14,679.97
You save:  GY$4,194.87
ISK kr6,880.62
List Price:  ISK kr9,633.42
You save:  ISK kr2,752.80
DH502.39
List Price:  DH703.39
You save:  DH200.99
L915.57
List Price:  L1,281.87
You save:  L366.30
ден2,923.49
List Price:  ден4,093.12
You save:  ден1,169.63
MOP$401.71
List Price:  MOP$562.43
You save:  MOP$160.71
N$906.84
List Price:  N$1,269.65
You save:  N$362.81
C$1,844.36
List Price:  C$2,582.26
You save:  C$737.89
रु6,759.18
List Price:  रु9,463.39
You save:  रु2,704.21
S/189.11
List Price:  S/264.78
You save:  S/75.66
K202.02
List Price:  K282.85
You save:  K80.82
SAR187.86
List Price:  SAR263.02
You save:  SAR75.16
ZK1,381.96
List Price:  ZK1,934.85
You save:  ZK552.89
L236.30
List Price:  L330.84
You save:  L94.54
Kč1,201.13
List Price:  Kč1,681.68
You save:  Kč480.55
Ft19,551.56
List Price:  Ft27,373.74
You save:  Ft7,822.18
SEK kr546.49
List Price:  SEK kr765.13
You save:  SEK kr218.64
ARS$50,351.23
List Price:  ARS$70,495.75
You save:  ARS$20,144.52
Bs346.32
List Price:  Bs484.88
You save:  Bs138.55
COP$218,848.29
List Price:  COP$306,405.11
You save:  COP$87,556.82
₡25,608.74
List Price:  ₡35,854.29
You save:  ₡10,245.54
L1,267.55
List Price:  L1,774.67
You save:  L507.12
₲391,087.76
List Price:  ₲547,554.16
You save:  ₲156,466.39
$U2,142.10
List Price:  $U2,999.11
You save:  $U857.01
zł204.56
List Price:  zł286.41
You save:  zł81.84
Already have an account? Log In

Transcript

Okay. So, let's say I want to do some of the model evaluation. So, for all these classification or these classification models, I can use this confusion matrix to let's say evaluate the accuracy or precision and recall model. So, for classification model, it can be all those our neural network KNN Naive Bayes decision tree. So, for classification model, I can create a confusion matrix using something like this confusion matrix. Then I put in a prediction then I put in a test set then a test our species Okay, so, bodies neural networks So, I create a model to let's say, predict a species based on other other variables.

And then I use a training set and the method is neural network here, I used a model to predict a destiny inside here and the type is probability and I have all these prediction here. So predictions here, show me all the probability I need to remove these. Because for confusion matrix, I cannot put in the audience our probability. So in confusion matrix, I will provide a prediction and then a test set species value. So these are test sets. Our species value is actually the actual Why are the extra variable and then this is the prediction of the variable for this species.

So that's a species is actually the actual value for these species variable prediction is the predicted values for these species variable. So, we this confusion matrix I will put in a prediction and then that test set our species here. So I control a and then run. So this is the confusion matrix. So we have the prediction and we have the actual value or the reference here. Then this is the accuracy then 95% ci now No information rate the p value and then we have the combined p value are any here we have other statistic by cross here, sensitivity specificity law statistic here.

So, this is how we can create these complete confusion matrices ah to get the accuracy of our model. So, we can use this confusion matrix for those our Naive Bayes neural network decision tree KNN od is our classification algorithm. So, for prediction that will be the simple linear regression or this So, prediction is to predict less a numeric or continuous variable. Then all these are classification we predict These are categorical variable okay. So we go into the evaluation of these our prediction model in the next lecture.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.