determine_best_model(train=True) # get the determined sklearn model name print(rec.model.__class__.__name__, "is the best") # get the test accuracy score for the best estimator print("Test score:", rec.test_score()) Output: MLPClassifier is the best Test Score: 0.8958333333333334 ...
混淆矩阵(Confusion Matrix)是机器学习中用来总结分类模型预测结果的一个分析表,是模式识别领域中的一种常用的表达形式。它以矩阵的形式描绘样本数据的真实属性和分类预测结果类型之间的关系,是用来评价分类器性能的一种常用方法。1