📜  python代码示例中的逻辑回归算法

📅  最后修改于: 2022-03-11 14:45:06.363000             🧑  作者: Mango

代码示例3
# import the metrics class
from sklearn import metrics
cnf_matrix = metrics.confusion_matrix(y_test, y_pred)
cnf_matrix