交叉验证
摘要:
from sklearn.model_selection import cross_val_score clf = svm.SVC(kernel='linear',C=1) scores = cross_val_score(clf,X,y,cv=5) #confusion matrix from s 阅读全文
posted @ 2021-12-24 17:33 enhaofrank 阅读(42) 评论(0) 推荐(0) 编辑
博客:https://www.cnblogs.com/enhaofrank/,公众号:生信AI区块链科技前沿,github:https://github.com/enhaofrank