- 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.
- 數(shù)據(jù)展現(xiàn)的藝術
- 大數(shù)據(jù)專業(yè)英語
- Visual FoxPro 6.0數(shù)據(jù)庫與程序設計
- 大數(shù)據(jù)改變世界
- ROS機器人編程與SLAM算法解析指南
- 計算機網(wǎng)絡技術基礎
- ZigBee無線通信技術應用開發(fā)
- 工業(yè)機器人力覺視覺控制高級應用
- Creating ELearning Games with Unity
- Cloudera Hadoop大數(shù)據(jù)平臺實戰(zhàn)指南
- 當產(chǎn)品經(jīng)理遇到人工智能
- Microsoft Office 365:Exchange Online Implementation and Migration(Second Edition)
- Mastering Microsoft Dynamics 365 Customer Engagement
- Learn T-SQL Querying
- ORACLE數(shù)據(jù)庫技術實用詳解