官术网_书友最值得收藏!

  • R Machine Learning Projects
  • Dr. Sunil Kumar Chinnamgari
  • 139字
  • 2021-07-02 14:23:07

Confusion matrix

This is a table that describes the classification model's performance. It is an n rows, n columns matrix where n represents the number of classes that are predicted by the classification model. It is formed by noting down the number of correct and incorrect predictions by the model when compared to the actual label.

Confusion matrices are better explained with an example—assume that there are 100 images in a dataset where there are 50 dog images and 50 cat images. A model that is built to classify images as cat images or dog images is given this dataset. The output from the model showed that 40 dog images are classified correctly and 20 cat images are predicted correctly. The following table is the confusion matrix construction from the prediction output of the model:

主站蜘蛛池模板: 弥勒县| 古蔺县| 庆城县| 江山市| 威信县| 宿迁市| 正宁县| 四子王旗| 赞皇县| 乐安县| 大渡口区| 宁晋县| 安多县| 桦川县| 玉门市| 犍为县| 鹤山市| 宁河县| 页游| 广东省| 五莲县| 高碑店市| 台北县| 比如县| 屯昌县| 封丘县| 萨嘎县| 叶城县| 山丹县| 石嘴山市| 平度市| 高碑店市| 台南市| 西昌市| 永安市| 搜索| 萨嘎县| 格尔木市| 洪洞县| 蛟河市| 荣昌县|