机器学习中,跑实验常用到的一些API【自用,更新ing】
作者:互联网
sklearn库中
1.混淆矩阵:
- https://scikit-learn.org/stable/auto_examples/model_selection/plot_confusion_matrix.html#sphx-glr-auto-examples-model-selection-plot-confusion-matrix-py
- 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
标签:learn,scikit,html,API,自用,stable,org,model,ing 来源: https://blog.csdn.net/csdnliwenqi/article/details/120752296