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

  • 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:

主站蜘蛛池模板: 大埔县| 揭阳市| 新昌县| 南郑县| 浮山县| 丰城市| 广元市| 芮城县| 鹰潭市| 晋江市| 建湖县| 鄂伦春自治旗| 临澧县| 铜鼓县| 石家庄市| 南和县| 区。| 拉萨市| 湖南省| 禹城市| 鄂尔多斯市| 宣武区| 封丘县| 宁河县| 兰考县| 聂荣县| 沁水县| 峡江县| 洛川县| 绍兴市| 尚义县| 开封县| 陆河县| 黔西县| 公主岭市| 云安县| 赫章县| 道孚县| 同德县| 新巴尔虎左旗| 新建县|