This commit is contained in:
Maciej Ścigacz 2022-05-01 17:43:36 +02:00
parent 2135e5268f
commit 53e2a719bc

3
run.py
View File

@ -3,11 +3,8 @@ from sklearn.naive_bayes import GaussianNB
from sklearn.feature_extraction.text import TfidfVectorizer
print("Wczytywanie zbioru treningowego")
#, error_bad_lines=False
train = pd.read_csv("train/train.tsv", sep='\t', header=None)
# print(train)
# train = train.dropna()
X_train = train[1]
Y_train = train[0]
print(len(X_train))