然後對我們訓練集的資料進行建模,模型就完成囉! 最後一樣用predict來看對測試集資料的預測結果! modelm=MultinomialNB() modelm.fit(X_train,y_train)
確定! 回上一頁