1. import from sklearn.naive_bayes import MultinomialNB # 2. instantiate a Multinomial Naive Bayes model nb = MultinomialNB(). In [36]:.
確定! 回上一頁