Data Analysis and Machine Learning with Python for Absolute Beginners: Learn Data Analysis and build models with help of Excel and Python tools along with ... 4 in 1 Bookset (Data by Stanley Truck
Author:Stanley Truck [Truck, Stanley]
Language: eng
Format: azw3, epub
Published: 2020-10-07T00:00:00+00:00
In fact, the ROC curve generates a series of key points on the curve by constantly moving the "cut-off points" of the classifier.Let's explain the "cut-off point".Very often, when we judge whether a sample is a positive sample or a negative sample, we cannot say "yes (100%)" or "no (0%)".
Many classifiers (such as Bayesian classifier and neural network classifier) only output a classification probability, and then a cutoff point (or threshold probability) can be given. If the classification probability is greater than this cutoff point, the sample is judged as a positive sample, otherwise it is a negative sample.
For a sorted classification probability, a series of key points (FPR,TPR) on the curve will be generated by constantly moving the "cut-off point" of the classifier.These key points are just a curve, which is the ROC curve we are learning.  The following is a case to further illustrate the concept of "cut-off point".Assume that there are 20 samples in the test set (10 real positive and negative samples each), and shows the output results of the binary classifier (P stands for positive class label, and N stands for negative class label).
The following describes the drawing process of roc curve.When the truncation point is positive Infinity, the classification model will judge all samples as negative samples, so FP and TP are naturally 0, so FPR and TPR are also 0, so the coordinates of the first point of ROC curve are (0,0).
When the cut-off point (output probability) is set to 0.9, only the samples ranked first are judged as positive samples by the classifier, and at this time TP=1.There are 10 positive samples in these 20 samples, that is, P=10, so TPR=1/10=0.1.
At the same time, among all the samples judged as positive samples, there is no false positive sample that has been "wronged", that is, FP=0.There are also 10 negative samples, that is, N=10, so NPR=0/10=0.Therefore, the coordinates of the second point of the ROC curve are (0,0.1).
Similarly, when the cutoff point is set to 0.8, only the first two samples are judged as positive samples by the classifier.Therefore, TP=2, TPR=2/10=0.2.At the same time, there are no false positive samples, namely FP=0, NPR=0/10=0.Therefore, the coordinate of the third point of the curve is (0,0.2).
By analogy, when the cut-off points are constantly adjusted, all the key points can be drawn, and then these key points are connected to form the final ROC curve, which finally stays at the point (1,1).
If these key points are dense enough, the ROC curve shown is no longer jagged, but smooth.  After a long time, we introduced the drawing of ROC curve.You may ask, what is the use of this ROC curve?Simply put, ROC curve is used to evaluate the performance of different binary classification algorithms.How to evaluate the advantages and disadvantages of two classification algorithms?This will use another concept, AUC.
AUC
AUC is the abbreviation of Area Under Curve, which means "area under curve" as its name implies.The "curve" here is the ROC curve we mentioned earlier.AUC is
Download
Data Analysis and Machine Learning with Python for Absolute Beginners: Learn Data Analysis and build models with help of Excel and Python tools along with ... 4 in 1 Bookset (Data by Stanley Truck.epub
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Personalized inhaled bacteriophage therapy for treatment of multidrug-resistant Pseudomonas aeruginosa in cystic fibrosis by unknow(174891)
CONSORT 2025 statement: updated guideline for reporting randomized trials by unknow(83282)
Critical evaluation of the ProfiLER-02 study design and outcomes by Vivek Subbiah & Razelle Kurzrock(82970)
Cardiac gene therapy makes a comeback by Oliver J. Müller & Susanne Hille & Anca Kliesow Remes(82796)
Whisky: Malt Whiskies of Scotland (Collins Little Books) by dominic roskrow(74436)
Unveiling the design rules for tunable emission in graphene quantum dots: A high-throughput TDDFT and machine learning perspective by Şener Özönder & Mustafa Coşkun Özdemir & Caner Ünlü(50891)
A yeast-based oral therapeutic delivers immune checkpoint inhibitors to reduce intestinal tumor burden by unknow(40259)
Covalent hitchhikers guide proteins to the nucleus by Alexander F. Russell & Madeline F. Currie & Champak Chatterjee(40215)
Meet the Authors: Christopher R. Mansfield and Emily R. Derbyshire by Christopher R. Mansfield & Emily R. Derbyshire(40094)
Alkaline-earth metals promote propane dehydrogenation with carbon dioxide through geometric effects: Altering the reaction pathway by unknow(32730)
Induced iron vacancies boosting FeOOH loaded on sustainable Fenton-like collagen fiber membrane for efficient removal of emerging contaminants by unknow(32504)
Efficient electric-field-assisted photochemical conversion of methane to n-propanol exclusively over penetrated TiO2Ti hollow fibers by Guanghui Feng(32452)
Bi2SiO5 nanosheets as piezo-photocatalyst for efficient degradation of 2,4-Dichlorophenol by Hangyu Shi & Yifu Li & Lishan Zhang & Guoguan Liu & Qian Zhang & Xuan Ru & Shan Zhong(32384)
A novel NDIPTA organic heterojunction photocatalyst with built-in electric field for efficient hydrogen production by Jiahui Yang & Baojun Ma & Yongfa Zhu(32360)
Enhanced conversion of methane to liquid-phase oxygenates via hollow ferrite nanotube@horseradish peroxidase based photoenzymatic catalysis by Jun Duan & Shiying Fan & Xinyong Li & Shaomin Liu(32330)
Ordered macroporous superstructure of defective carbon adorned with tiny cobalt sulfide for selective electrocatalytic hydrogenation of cinnamaldehyde by Xiao-Shi Yuan & Sheng-Hua Zhou & San-Mei Wang & Wenbo Wei & Xiaofang Li & Xin-Tao Wu & Qi-Long Zhu(32256)
What's Done in Darkness by Kayla Perrin(27144)
Topological analysis of non-conjugated ethylene oxide cored dendrimers decorated with tetraphenylethylene: Insights from degree-based descriptors using the polynomial approach by A Theertha Nair & D Antony Xavier & Annmaria Baby & S Akhila(26522)
Investigation of mechanical and self-healing properties of hydroxyl-terminated polybutadiene functionalized with 2-ureido-4-pyrimidinone by Mohsen Kazazi & Mehran Hayaty & Ali Mousaviazar(26457)