Press "Enter" to skip to content

Posts tagged as “Python”

svm.SVC In sklearn

# import svm from sklearn from sklearn import svm # 创建训练集 X = [[0, 0], [1, 1]] Y = [0, 1] # 创建SVC分类器 clf =…

Naive Bayes Basic

Naive Bayes Basic 用sklearn去拟合NB模型 预测结果