s444476
This commit is contained in:
parent
2135e5268f
commit
53e2a719bc
3
run.py
3
run.py
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user