机器学习中,跑实验常用到的一些API【自用,更新ing】

sklearn库中

1.混淆矩阵:

  1. https://scikit-learn.org/stable/auto_examples/model_selection/plot_confusion_matrix.html#sphx-glr-auto-examples-model-selection-plot-confusion-matrix-py
  2. https://scikit-learn.org/stable/modules/model_evaluation.html#confusion-matrix

2. 分类报告(每种类的准确率、召回率等信息)

https://scikit-learn.org/stable/modules/model_evaluation.html#classification-report

3. 精确率、准确率、召回率、F1值

https://scikit-learn.org/stable/modules/model_evaluation.html#precision-recall-and-f-measures

上一篇:stable_sort 和sort


下一篇:Jenkins技巧:如何更新Jenkins到最新版本