# import svm from sklearn from sklearn import svm # 创建训练集 X = [[0, 0], [1, 1]] Y = [0, 1] # 创建SVC分类器 clf =…
Posts tagged as “Python”
Naive Bayes Basic 用sklearn去拟合NB模型 预测结果
Keep Learning
# import svm from sklearn from sklearn import svm # 创建训练集 X = [[0, 0], [1, 1]] Y = [0, 1] # 创建SVC分类器 clf =…
Naive Bayes Basic 用sklearn去拟合NB模型 预测结果