Zaktualizuj 'run.py'

This commit is contained in:
Szymon Jadczak 2022-05-18 10:29:52 +02:00
parent f1dc927718
commit e9efe3a197

2
run.py
View File

@ -6,7 +6,7 @@ from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.naive_bayes import MultinomialNB
from sklearn.pipeline import make_pipeline
from sklearn.metrics import accuracy_score
#test
def readFile(filename):
X_dev = []
with open(filename, 'r', encoding="utf-8") as dev_in: