no changes
This commit is contained in:
parent
2194c77c4b
commit
b9c43ca1cc
1
run.py
1
run.py
@ -15,6 +15,7 @@ x_train_vectorized = tfidf_vectorizer.fit_transform(x_train['text'].values)
|
||||
|
||||
mnb_model = MultinomialNB().fit(x_train_vectorized, y_train.values.ravel())
|
||||
|
||||
|
||||
# Dev data
|
||||
x_dev_prepared = tfidf_vectorizer.transform(x_dev['text'].values)
|
||||
predictions = mnb_model.predict(x_dev_prepared)
|
||||
|
Loading…
Reference in New Issue
Block a user