(實戰)樸素貝葉斯實現垃圾分類_201121

瀟鋒非蕭峰 發表於 2020-11-21
import matplotlib.pyplot as plt
import pandas as pd
import string
import codecs
import os
import jieba
from sklearn.feature_extraction.text import CountVectorizer
from sklearn import naive_bayes as bayes
from sklearn.model_selection import train_test_split

pan