- Machine Learning with Swift
- Alexander Sosnovshchenko
- 47字
- 2021-06-24 18:54:59
Confusion matrix
Confusion matrix helps to see what types of errors occur more often:
In []: from sklearn.metrics import confusion_matrix confusion_matrix(y_test, tree_model.predict(X_test)) Out[]: array([[128, 20], [ 17, 135]])
This is how to read and interpret such matrices:

The bigger the numbers on the matrix diagonally, the better.
推薦閱讀
- Cortex-M3 + μC/OS-II嵌入式系統開發入門與應用
- The Applied AI and Natural Language Processing Workshop
- 電腦常見故障現場處理
- 微服務分布式架構基礎與實戰:基于Spring Boot + Spring Cloud
- OUYA Game Development by Example
- 電腦高級維修及故障排除實戰
- OpenGL Game Development By Example
- BeagleBone Robotic Projects
- RISC-V處理器與片上系統設計:基于FPGA與云平臺的實驗教程
- Hands-On Deep Learning for Images with TensorFlow
- 微控制器的應用
- Blender for Video Production Quick Start Guide
- 筆記本電腦現場維修實錄
- 多媒體應用技術(第2版)
- Applied Deep Learning with Keras