- Machine Learning in Java
- AshishSingh Bhatia Bostjan Kaluza
- 209字
- 2021-06-10 19:30:00
Evaluating classification
Is our classifier doing well? Is this better than the other one? In classification, we count how many times we classify something right and wrong. Suppose there are two possible classification labels of yes and no, then there are four possible outcomes, as shown in the following table:

The four variables:
- True positive (hit): This indicates a yes instance correctly predicted as yes
- True negative (correct rejection): This indicates a no instance correctly predicted as no
- False positive (false alarm): This indicates a no instance predicted as yes
- False negative (miss): This indicates a yes instance predicted as no
The basic two performance measures of a classifier are, firstly, classification error:
And, secondly, classification accuracy is another performance measure, as shown here:
The main problem with these two measures is that they cannot handle unbalanced classes. Classifying whether a credit card transaction is an abuse or not is an example of a problem with unbalanced classes: there are 99.99% normal transactions and just a tiny percentage of abuses. The classifier that says that every transaction is a normal one is 99.99% accurate, but we are mainly interested in those few classifications that occur very rarely.
- Mastering VMware vSphere 6.5
- 視覺檢測技術及智能計算
- 21天學通Visual Basic
- WordPress Theme Development Beginner's Guide(Third Edition)
- Splunk Operational Intelligence Cookbook
- 工業控制系統測試與評價技術
- Prometheus監控實戰
- RedHat Linux用戶基礎
- Extending Ansible
- 自動化生產線安裝與調試(三菱FX系列)(第二版)
- Web璀璨:Silverlight應用技術完全指南
- Embedded Linux Development using Yocto Projects(Second Edition)
- 大型機系統應用基礎
- JSP通用范例開發金典
- 單片機C51應用技術