SlideShare a Scribd company logo
1 of 7
Sandeep Sharma ROC curve 2013
Procedure below:
1. convert number representation to number format using excel properties
2. copy data from data sheet into
Genuine into column Genuine and i16.dat imposter in column imposter
3. Classify genuine and imposter into range in this case 0-0.1,0.1-0.2 etc
As shown in excel sheet column D GenuineClass, ImposterClass
Formulae used:
For GenuineClass (range in column D in excel sheet, based on Genuine Score of Column B)
=IF(AND(B:B>=0,B:B<=0.1),"0.1" ,IF(AND(B:B>0.1,B:B<=0.2),"0.2" ,IF(AND(B:B>0.2,B:B<=0.3),"0.3",
IF(AND(B:B>0.3,B:B<=0.4),"0.4", IF(AND(B:B>0.4,B:B<=0.5),"0.5", IF(AND(B:B>0.5,B:B<=0.6),"0.6",
IF(AND(B:B>0.6,B:B<=0.7),"0.7", IF(AND(B:B>0.7,B:B<=0.8),"0.8", IF(AND(B:B>0.8,B:B<=0.9),"0.9",
"0.1")))))))))
For GenuineClass (range in column C in excel sheet, based on Imposter Score of Column C)
=IF(AND(C:C>=0,C:C<=0.1),"0.1" ,IF(AND(C:C>0.1,C:C<=0.2),"0.2" ,IF(AND(C:C>0.2,C:C<=0.3),"0.3",
IF(AND(C:C>0.3,C:C<=0.4),"0.4", IF(AND(C:C>0.4,C:C<=0.5),"0.5", IF(AND(C:C>0.5,C:C<=0.6),"0.6",
IF(AND(C:C>0.6,C:C<=0.7),"0.7", IF(AND(C:C>0.7,C:C<=0.8),"0.8", IF(AND(C:C>0.8,C:C<=0.9),"0.9",
"0.1")))))))))
4. Count the classification for each Imposter and Genuine
Imposter shown in Column F
0
200
400
600
800
1000
1200
0 0.2 0.4 0.6 0.8 1 1.2
Diagonal
Genuine
imposter
Sandeep Sharma ROC curve 2013
For 0.0 =COUNTIF(E:E,"0.0") , For 0.1 =COUNTIF(E:E,"0.1")……
Genuine:
For 0.1 =COUNTIF(D:D,"0.1"), for 0.2 =COUNTIF(D:D,"0.2") , and so on..
Draw Scatter curve : Series Diagonal, plot values (Scale X,ScaleY) as below
scaleX scaleY
0 0
0.1 110
0.2 220
0.3 330
0.4 440
0.5 550
0.6 660
0.7 770
0.8 880
0.9 990
1 1100
Similary draw values of imposter and Genuine as counted :
So Add 2 more series by name Imposter, Genuine
X -
Axis
Y-axis
imposter scaleX scaleY genuine
0 0 0 0
374 0.1 110 53
175 0.2 220 46
185 0.3 330 65
155 0.4 440 82
73 0.5 550 135
30 0.6 660 166
7 0.7 770 185
1 0.8 880 206
0 0.9 990 195
0 1 1100 1067
Sum:1000 5.5 6050 2200
We get following curve:
Sandeep Sharma ROC curve 2013
Question 2:
FP Rate = count(interval FP)/Total FP
TP Rate= count(interval TP count)/Total TP
We get this table Using this score we calculate accumulated FP, TP rate
scaleX scaleY FPRate TPRate imposter genuine Acc FP Acc TP
0 0 0 0 0 0 0 0
0.1 0.1 0.374 0.02409 374 53 0.374 0.024091
0.2 0.2 0.175 0.02091 175 46 0.549 0.045
0.3 0.3 0.185 0.02955 185 65 0.734 0.074545
0.4 0.4 0.155 0.03727 155 82 0.889 0.111818
0.5 0.5 0.073 0.06136 73 135 0.962 0.173182
0.6 0.6 0.03 0.07545 30 166 0.992 0.248636
0.7 0.7 0.007 0.08409 7 185 0.999 0.332727
0.8 0.8 0.001 0.09364 1 206 1 0.426364
0.9 0.9 0 0.08864 0 195 1 0.515
1 1 0 0.485 0 1067 1 1
1000 2200 1 1
We get curve:
0
200
400
600
800
1000
1200
0 0.2 0.4 0.6 0.8 1 1.2
Diagonal
Genuine
imposter
Sandeep Sharma ROC curve 2013
ROC Curve Question 2
Acc FP Acc TP
0 0
0.374 0.024091
0.549 0.045
0.734 0.074545
0.889 0.111818
0.962 0.173182
0.992 0.248636
0.999 0.332727
1 0.426364
1 0.515
1 1
1 1
0
0.2
0.4
0.6
0.8
1
1.2
0 0.2 0.4 0.6 0.8 1 1.2
Diagonal
FP Rate
TP Rate
Sandeep Sharma ROC curve 2013
3. Determine the EER
EER = nm/PN
The point where the FMR curve and FNMR curve intersect is known as the equal errorrate (EER). It is
called this because at this threshold, the FMR and FNMR are equal.With respect to the score
distributions, the EER occurs at the threshold where thearea under (i.e. the integration of) the genuine
distribution<t equals the area under theimpostor distribution≥t.
Point (0.1,0.9)
y scaleX scaleY FP Rate TP Rate
1 0 0 0 0
0
0.2
0.4
0.6
0.8
1
1.2
0 0.2 0.4 0.6 0.8 1 1.2
Acc TP
diagonal
0
0.2
0.4
0.6
0.8
1
1.2
0 0.2 0.4 0.6 0.8 1 1.2
ROC curve
diagonal
rev
Sandeep Sharma ROC curve 2013
0.9 0.1 0.1 0.374 0.0240909
0.8 0.2 0.2 0.549 0.045
0.7 0.3 0.3 0.734 0.0745455
0.6 0.4 0.4 0.889 0.1118182
0.5 0.5 0.5 0.962 0.1731818
0.4 0.6 0.6 0.992 0.2486364
0.3 0.7 0.7 0.999 0.3327273
0.2 0.8 0.8 1 0.4263636
0.1 0.9 0.9 1 0.515
0 1 1 1 1
4. If the cost of a false accept is 10 euro and a false reject is 30 euro, estimate a suitable
operating point on the ROC curve that minimises the overall cost. Assume equal apriori
probabilities.
scaleX scaleY FPRate TPRate imposter genuine Acc FP Acc TP
0 0 0 0 0 0 0 0
0.1 0.1 0.374 0.02409 374 53 0.374 0.024091
0.2 0.2 0.175 0.02091 175 46 0.549 0.045
0.3 0.3 0.185 0.02955 185 65 0.734 0.074545
0.4 0.4 0.155 0.03727 155 82 0.889 0.111818
0.5 0.5 0.073 0.06136 73 135 0.962 0.173182
0.6 0.6 0.03 0.07545 30 166 0.992 0.248636
0.7 0.7 0.007 0.08409 7 185 0.999 0.332727
0.8 0.8 0.001 0.09364 1 206 1 0.426364
0.9 0.9 0 0.08864 0 195 1 0.515
1 1 0 0.485 0 1067 1 1
1000 2200 1 1
Sandeep Sharma ROC curve 2013
= Consider a scenario in
which negatives outnumber positives by 10 to 1, but false
positives and false negatives have equal cost. By Eq. (1)
m = 10, and the most northwest line of slope m = 10 is a,
tangent to classifier A, which would be the best performing
classifier for these conditions.
Consider another scenario in which the positive and
negative example populations are evenly balanced but a
false negative is 10 times as expensive as a false positive.
By Eq. (1) m = 1/10. The most northwest line of slope 1/
10 would be line b, tangent to classifier C. C is the optimal
classifier for these conditions.
0
0.2
0.4
0.6
0.8
1
1.2
0 0.2 0.4 0.6 0.8 1 1.2
FRR
FAR

More Related Content

What's hot

SPICE MODEL of 1SS394 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS394 (Standard Model) in SPICE PARKSPICE MODEL of 1SS394 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS394 (Standard Model) in SPICE PARKTsuyoshi Horigome
 
20GL2C41A 150C PSpice Model (Free SPICE Model)
20GL2C41A 150C PSpice Model (Free SPICE Model)20GL2C41A 150C PSpice Model (Free SPICE Model)
20GL2C41A 150C PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
20DL2CZ47A PSpice Model (Free SPICE Model)
20DL2CZ47A PSpice Model (Free SPICE Model)20DL2CZ47A PSpice Model (Free SPICE Model)
20DL2CZ47A PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
20GL2C41A 110C PSpice Model (Free SPICE Model)
20GL2C41A 110C PSpice Model (Free SPICE Model)20GL2C41A 110C PSpice Model (Free SPICE Model)
20GL2C41A 110C PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
SPICE MODEL of DC005-06 , PSpice Model in SPICE PARK
SPICE MODEL of DC005-06 , PSpice Model in SPICE PARKSPICE MODEL of DC005-06 , PSpice Model in SPICE PARK
SPICE MODEL of DC005-06 , PSpice Model in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of AM-1820 , PSpice Model in SPICE PARK
SPICE MODEL of AM-1820 , PSpice Model in SPICE PARKSPICE MODEL of AM-1820 , PSpice Model in SPICE PARK
SPICE MODEL of AM-1820 , PSpice Model in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARK
SPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARKSPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARK
SPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARKTsuyoshi Horigome
 

What's hot (7)

SPICE MODEL of 1SS394 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS394 (Standard Model) in SPICE PARKSPICE MODEL of 1SS394 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS394 (Standard Model) in SPICE PARK
 
20GL2C41A 150C PSpice Model (Free SPICE Model)
20GL2C41A 150C PSpice Model (Free SPICE Model)20GL2C41A 150C PSpice Model (Free SPICE Model)
20GL2C41A 150C PSpice Model (Free SPICE Model)
 
20DL2CZ47A PSpice Model (Free SPICE Model)
20DL2CZ47A PSpice Model (Free SPICE Model)20DL2CZ47A PSpice Model (Free SPICE Model)
20DL2CZ47A PSpice Model (Free SPICE Model)
 
20GL2C41A 110C PSpice Model (Free SPICE Model)
20GL2C41A 110C PSpice Model (Free SPICE Model)20GL2C41A 110C PSpice Model (Free SPICE Model)
20GL2C41A 110C PSpice Model (Free SPICE Model)
 
SPICE MODEL of DC005-06 , PSpice Model in SPICE PARK
SPICE MODEL of DC005-06 , PSpice Model in SPICE PARKSPICE MODEL of DC005-06 , PSpice Model in SPICE PARK
SPICE MODEL of DC005-06 , PSpice Model in SPICE PARK
 
SPICE MODEL of AM-1820 , PSpice Model in SPICE PARK
SPICE MODEL of AM-1820 , PSpice Model in SPICE PARKSPICE MODEL of AM-1820 , PSpice Model in SPICE PARK
SPICE MODEL of AM-1820 , PSpice Model in SPICE PARK
 
SPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARK
SPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARKSPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARK
SPICE MODEL of 30GWJ2CZ47C (Standard Model) in SPICE PARK
 

Viewers also liked

How to read a receiver operating characteritic (ROC) curve
How to read a receiver operating characteritic (ROC) curveHow to read a receiver operating characteritic (ROC) curve
How to read a receiver operating characteritic (ROC) curveSamir Haffar
 
Receiver Operating Characteristic (ROC) curve analysis. 19.12
Receiver Operating Characteristic (ROC) curve analysis. 19.12Receiver Operating Characteristic (ROC) curve analysis. 19.12
Receiver Operating Characteristic (ROC) curve analysis. 19.12Kenisha S Russell Jonsson
 
General Introduction to ROC Curves
General Introduction to ROC CurvesGeneral Introduction to ROC Curves
General Introduction to ROC CurvesAustin Powell
 
A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...
A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...
A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...SSA KPI
 
ID3 Algorithm & ROC Analysis
ID3 Algorithm & ROC AnalysisID3 Algorithm & ROC Analysis
ID3 Algorithm & ROC AnalysisTalha Kabakus
 

Viewers also liked (8)

How to read a receiver operating characteritic (ROC) curve
How to read a receiver operating characteritic (ROC) curveHow to read a receiver operating characteritic (ROC) curve
How to read a receiver operating characteritic (ROC) curve
 
Receiver Operating Characteristic (ROC) curve analysis. 19.12
Receiver Operating Characteristic (ROC) curve analysis. 19.12Receiver Operating Characteristic (ROC) curve analysis. 19.12
Receiver Operating Characteristic (ROC) curve analysis. 19.12
 
Roc
RocRoc
Roc
 
Roc Search
Roc SearchRoc Search
Roc Search
 
General Introduction to ROC Curves
General Introduction to ROC CurvesGeneral Introduction to ROC Curves
General Introduction to ROC Curves
 
A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...
A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...
A Classification Problem of Credit Risk Rating Investigated and Solved by Opt...
 
ID3 Algorithm & ROC Analysis
ID3 Algorithm & ROC AnalysisID3 Algorithm & ROC Analysis
ID3 Algorithm & ROC Analysis
 
05 powerpoint-alessandra young
05 powerpoint-alessandra young05 powerpoint-alessandra young
05 powerpoint-alessandra young
 

Similar to ROC Curve Analysis

Examining Malware with Python
Examining Malware with PythonExamining Malware with Python
Examining Malware with Pythonmrphilroth
 
Reliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy conditionReliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy conditionShahrukh Ali Khan
 
Big Data mit Microsoft?
Big Data mit Microsoft?Big Data mit Microsoft?
Big Data mit Microsoft?Olivia Klose
 
Applied Econometrics assignment3
Applied Econometrics assignment3Applied Econometrics assignment3
Applied Econometrics assignment3Chenguang Li
 
Harmonic drive hpn gearhead brochure
Harmonic drive hpn gearhead brochureHarmonic drive hpn gearhead brochure
Harmonic drive hpn gearhead brochureElectromate
 
Haydon kerk ac_hybrid_actuators_specsheet
Haydon kerk ac_hybrid_actuators_specsheetHaydon kerk ac_hybrid_actuators_specsheet
Haydon kerk ac_hybrid_actuators_specsheetElectromate
 
バイナリかるた(アーキテクチャかるた)
バイナリかるた(アーキテクチャかるた)バイナリかるた(アーキテクチャかるた)
バイナリかるた(アーキテクチャかるた)kozossakai
 
バイナリかるた(アーキテクチャかるた・完全版)
バイナリかるた(アーキテクチャかるた・完全版)バイナリかるた(アーキテクチャかるた・完全版)
バイナリかるた(アーキテクチャかるた・完全版)kozossakai
 
A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...
A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...
A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...aurkoiitk
 
Decision analysis problems online 1
Decision analysis problems online 1Decision analysis problems online 1
Decision analysis problems online 1Soumendra Roy
 
Microcontrollers and RT programming 3
Microcontrollers and RT programming 3Microcontrollers and RT programming 3
Microcontrollers and RT programming 3SSGMCE SHEGAON
 
Using raw ATC count data with the EFT - Blaise Kelly
Using raw ATC count data with the EFT - Blaise KellyUsing raw ATC count data with the EFT - Blaise Kelly
Using raw ATC count data with the EFT - Blaise KellyIES / IAQM
 
Main ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docx
Main ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docxMain ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docx
Main ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docxsmile790243
 
P. Kropp, B. Shwengler, Applying the TTWA method to German data
P. Kropp,  B. Shwengler, Applying the TTWA method to German dataP. Kropp,  B. Shwengler, Applying the TTWA method to German data
P. Kropp, B. Shwengler, Applying the TTWA method to German dataIstituto nazionale di statistica
 
Harmonic hpgp specsheet
Harmonic hpgp specsheetHarmonic hpgp specsheet
Harmonic hpgp specsheetElectromate
 

Similar to ROC Curve Analysis (20)

Examining Malware with Python
Examining Malware with PythonExamining Malware with Python
Examining Malware with Python
 
Naca 4 digit-delta
Naca 4 digit-deltaNaca 4 digit-delta
Naca 4 digit-delta
 
Reliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy conditionReliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy condition
 
task3
task3task3
task3
 
Big Data mit Microsoft?
Big Data mit Microsoft?Big Data mit Microsoft?
Big Data mit Microsoft?
 
Ab data
Ab dataAb data
Ab data
 
Applied Econometrics assignment3
Applied Econometrics assignment3Applied Econometrics assignment3
Applied Econometrics assignment3
 
Harmonic drive hpn gearhead brochure
Harmonic drive hpn gearhead brochureHarmonic drive hpn gearhead brochure
Harmonic drive hpn gearhead brochure
 
Haydon kerk ac_hybrid_actuators_specsheet
Haydon kerk ac_hybrid_actuators_specsheetHaydon kerk ac_hybrid_actuators_specsheet
Haydon kerk ac_hybrid_actuators_specsheet
 
バイナリかるた(アーキテクチャかるた)
バイナリかるた(アーキテクチャかるた)バイナリかるた(アーキテクチャかるた)
バイナリかるた(アーキテクチャかるた)
 
バイナリかるた(アーキテクチャかるた・完全版)
バイナリかるた(アーキテクチャかるた・完全版)バイナリかるた(アーキテクチャかるた・完全版)
バイナリかるた(アーキテクチャかるた・完全版)
 
recipes
recipesrecipes
recipes
 
A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...
A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...
A Study on the Short Run Relationship b/w Major Economic Indicators of US Eco...
 
Decision analysis problems online 1
Decision analysis problems online 1Decision analysis problems online 1
Decision analysis problems online 1
 
Microcontrollers and RT programming 3
Microcontrollers and RT programming 3Microcontrollers and RT programming 3
Microcontrollers and RT programming 3
 
Data cleansing project
Data cleansing project Data cleansing project
Data cleansing project
 
Using raw ATC count data with the EFT - Blaise Kelly
Using raw ATC count data with the EFT - Blaise KellyUsing raw ATC count data with the EFT - Blaise Kelly
Using raw ATC count data with the EFT - Blaise Kelly
 
Main ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docx
Main ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docxMain ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docx
Main ComputationExpectedStandardRisk PremiumReturnMonDeviationE(r.docx
 
P. Kropp, B. Shwengler, Applying the TTWA method to German data
P. Kropp,  B. Shwengler, Applying the TTWA method to German dataP. Kropp,  B. Shwengler, Applying the TTWA method to German data
P. Kropp, B. Shwengler, Applying the TTWA method to German data
 
Harmonic hpgp specsheet
Harmonic hpgp specsheetHarmonic hpgp specsheet
Harmonic hpgp specsheet
 

More from Sandeep Sharma IIMK Smart City,IoT,Bigdata,Cloud,BI,DW

More from Sandeep Sharma IIMK Smart City,IoT,Bigdata,Cloud,BI,DW (20)

Management Consultancy Saudi Telecom Digital Transformation Design Thinking
Management Consultancy Saudi Telecom Digital Transformation Design ThinkingManagement Consultancy Saudi Telecom Digital Transformation Design Thinking
Management Consultancy Saudi Telecom Digital Transformation Design Thinking
 
Major new initiatives
Major new initiativesMajor new initiatives
Major new initiatives
 
Digital transformation journey Consulting
Digital transformation journey ConsultingDigital transformation journey Consulting
Digital transformation journey Consulting
 
Agile Jira Reporting
Agile Jira Reporting Agile Jira Reporting
Agile Jira Reporting
 
Lnt and bbby Retail Houseare industry Case assignment sandeep sharma
Lnt and bbby Retail Houseare industry Case assignment  sandeep sharmaLnt and bbby Retail Houseare industry Case assignment  sandeep sharma
Lnt and bbby Retail Houseare industry Case assignment sandeep sharma
 
Risk management Consulting For Municipality
Risk management Consulting For MunicipalityRisk management Consulting For Municipality
Risk management Consulting For Municipality
 
GDPR And Privacy By design Consultancy
GDPR And Privacy By design ConsultancyGDPR And Privacy By design Consultancy
GDPR And Privacy By design Consultancy
 
Real implementation Blockchain Best Use Cases Examples
Real implementation Blockchain Best Use Cases ExamplesReal implementation Blockchain Best Use Cases Examples
Real implementation Blockchain Best Use Cases Examples
 
Ffd 05 2012
Ffd 05 2012Ffd 05 2012
Ffd 05 2012
 
Biztalk architecture for Configured SMS service
Biztalk architecture for Configured SMS serviceBiztalk architecture for Configured SMS service
Biztalk architecture for Configured SMS service
 
Data modelling interview question
Data modelling interview questionData modelling interview question
Data modelling interview question
 
Pmo best practices
Pmo best practicesPmo best practices
Pmo best practices
 
Agile project management
Agile project managementAgile project management
Agile project management
 
Enroll hostel Business Model
Enroll hostel Business ModelEnroll hostel Business Model
Enroll hostel Business Model
 
Cloud manager client provisioning guideline draft 1.0
Cloud manager client provisioning guideline draft 1.0Cloud manager client provisioning guideline draft 1.0
Cloud manager client provisioning guideline draft 1.0
 
Bpm digital transformation
Bpm digital transformationBpm digital transformation
Bpm digital transformation
 
Digital transformation explained
Digital transformation explainedDigital transformation explained
Digital transformation explained
 
Government Digital transformation trend draft 1.0
Government Digital transformation trend draft 1.0Government Digital transformation trend draft 1.0
Government Digital transformation trend draft 1.0
 
Enterprise architecture maturity rating draft 1.0
Enterprise architecture maturity rating draft 1.0Enterprise architecture maturity rating draft 1.0
Enterprise architecture maturity rating draft 1.0
 
Organisation Structure For digital Transformation Team
Organisation Structure For digital Transformation TeamOrganisation Structure For digital Transformation Team
Organisation Structure For digital Transformation Team
 

Recently uploaded

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 

Recently uploaded (20)

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 

ROC Curve Analysis

  • 1. Sandeep Sharma ROC curve 2013 Procedure below: 1. convert number representation to number format using excel properties 2. copy data from data sheet into Genuine into column Genuine and i16.dat imposter in column imposter 3. Classify genuine and imposter into range in this case 0-0.1,0.1-0.2 etc As shown in excel sheet column D GenuineClass, ImposterClass Formulae used: For GenuineClass (range in column D in excel sheet, based on Genuine Score of Column B) =IF(AND(B:B>=0,B:B<=0.1),"0.1" ,IF(AND(B:B>0.1,B:B<=0.2),"0.2" ,IF(AND(B:B>0.2,B:B<=0.3),"0.3", IF(AND(B:B>0.3,B:B<=0.4),"0.4", IF(AND(B:B>0.4,B:B<=0.5),"0.5", IF(AND(B:B>0.5,B:B<=0.6),"0.6", IF(AND(B:B>0.6,B:B<=0.7),"0.7", IF(AND(B:B>0.7,B:B<=0.8),"0.8", IF(AND(B:B>0.8,B:B<=0.9),"0.9", "0.1"))))))))) For GenuineClass (range in column C in excel sheet, based on Imposter Score of Column C) =IF(AND(C:C>=0,C:C<=0.1),"0.1" ,IF(AND(C:C>0.1,C:C<=0.2),"0.2" ,IF(AND(C:C>0.2,C:C<=0.3),"0.3", IF(AND(C:C>0.3,C:C<=0.4),"0.4", IF(AND(C:C>0.4,C:C<=0.5),"0.5", IF(AND(C:C>0.5,C:C<=0.6),"0.6", IF(AND(C:C>0.6,C:C<=0.7),"0.7", IF(AND(C:C>0.7,C:C<=0.8),"0.8", IF(AND(C:C>0.8,C:C<=0.9),"0.9", "0.1"))))))))) 4. Count the classification for each Imposter and Genuine Imposter shown in Column F 0 200 400 600 800 1000 1200 0 0.2 0.4 0.6 0.8 1 1.2 Diagonal Genuine imposter
  • 2. Sandeep Sharma ROC curve 2013 For 0.0 =COUNTIF(E:E,"0.0") , For 0.1 =COUNTIF(E:E,"0.1")…… Genuine: For 0.1 =COUNTIF(D:D,"0.1"), for 0.2 =COUNTIF(D:D,"0.2") , and so on.. Draw Scatter curve : Series Diagonal, plot values (Scale X,ScaleY) as below scaleX scaleY 0 0 0.1 110 0.2 220 0.3 330 0.4 440 0.5 550 0.6 660 0.7 770 0.8 880 0.9 990 1 1100 Similary draw values of imposter and Genuine as counted : So Add 2 more series by name Imposter, Genuine X - Axis Y-axis imposter scaleX scaleY genuine 0 0 0 0 374 0.1 110 53 175 0.2 220 46 185 0.3 330 65 155 0.4 440 82 73 0.5 550 135 30 0.6 660 166 7 0.7 770 185 1 0.8 880 206 0 0.9 990 195 0 1 1100 1067 Sum:1000 5.5 6050 2200 We get following curve:
  • 3. Sandeep Sharma ROC curve 2013 Question 2: FP Rate = count(interval FP)/Total FP TP Rate= count(interval TP count)/Total TP We get this table Using this score we calculate accumulated FP, TP rate scaleX scaleY FPRate TPRate imposter genuine Acc FP Acc TP 0 0 0 0 0 0 0 0 0.1 0.1 0.374 0.02409 374 53 0.374 0.024091 0.2 0.2 0.175 0.02091 175 46 0.549 0.045 0.3 0.3 0.185 0.02955 185 65 0.734 0.074545 0.4 0.4 0.155 0.03727 155 82 0.889 0.111818 0.5 0.5 0.073 0.06136 73 135 0.962 0.173182 0.6 0.6 0.03 0.07545 30 166 0.992 0.248636 0.7 0.7 0.007 0.08409 7 185 0.999 0.332727 0.8 0.8 0.001 0.09364 1 206 1 0.426364 0.9 0.9 0 0.08864 0 195 1 0.515 1 1 0 0.485 0 1067 1 1 1000 2200 1 1 We get curve: 0 200 400 600 800 1000 1200 0 0.2 0.4 0.6 0.8 1 1.2 Diagonal Genuine imposter
  • 4. Sandeep Sharma ROC curve 2013 ROC Curve Question 2 Acc FP Acc TP 0 0 0.374 0.024091 0.549 0.045 0.734 0.074545 0.889 0.111818 0.962 0.173182 0.992 0.248636 0.999 0.332727 1 0.426364 1 0.515 1 1 1 1 0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2 Diagonal FP Rate TP Rate
  • 5. Sandeep Sharma ROC curve 2013 3. Determine the EER EER = nm/PN The point where the FMR curve and FNMR curve intersect is known as the equal errorrate (EER). It is called this because at this threshold, the FMR and FNMR are equal.With respect to the score distributions, the EER occurs at the threshold where thearea under (i.e. the integration of) the genuine distribution<t equals the area under theimpostor distribution≥t. Point (0.1,0.9) y scaleX scaleY FP Rate TP Rate 1 0 0 0 0 0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2 Acc TP diagonal 0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2 ROC curve diagonal rev
  • 6. Sandeep Sharma ROC curve 2013 0.9 0.1 0.1 0.374 0.0240909 0.8 0.2 0.2 0.549 0.045 0.7 0.3 0.3 0.734 0.0745455 0.6 0.4 0.4 0.889 0.1118182 0.5 0.5 0.5 0.962 0.1731818 0.4 0.6 0.6 0.992 0.2486364 0.3 0.7 0.7 0.999 0.3327273 0.2 0.8 0.8 1 0.4263636 0.1 0.9 0.9 1 0.515 0 1 1 1 1 4. If the cost of a false accept is 10 euro and a false reject is 30 euro, estimate a suitable operating point on the ROC curve that minimises the overall cost. Assume equal apriori probabilities. scaleX scaleY FPRate TPRate imposter genuine Acc FP Acc TP 0 0 0 0 0 0 0 0 0.1 0.1 0.374 0.02409 374 53 0.374 0.024091 0.2 0.2 0.175 0.02091 175 46 0.549 0.045 0.3 0.3 0.185 0.02955 185 65 0.734 0.074545 0.4 0.4 0.155 0.03727 155 82 0.889 0.111818 0.5 0.5 0.073 0.06136 73 135 0.962 0.173182 0.6 0.6 0.03 0.07545 30 166 0.992 0.248636 0.7 0.7 0.007 0.08409 7 185 0.999 0.332727 0.8 0.8 0.001 0.09364 1 206 1 0.426364 0.9 0.9 0 0.08864 0 195 1 0.515 1 1 0 0.485 0 1067 1 1 1000 2200 1 1
  • 7. Sandeep Sharma ROC curve 2013 = Consider a scenario in which negatives outnumber positives by 10 to 1, but false positives and false negatives have equal cost. By Eq. (1) m = 10, and the most northwest line of slope m = 10 is a, tangent to classifier A, which would be the best performing classifier for these conditions. Consider another scenario in which the positive and negative example populations are evenly balanced but a false negative is 10 times as expensive as a false positive. By Eq. (1) m = 1/10. The most northwest line of slope 1/ 10 would be line b, tangent to classifier C. C is the optimal classifier for these conditions. 0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2 FRR FAR