444386
This commit is contained in:
parent
64b2bf963d
commit
7c37054941
1
run.py
1
run.py
@ -37,7 +37,6 @@ document_vectors = vectorizer.fit_transform(X_train)
|
|||||||
model = LogisticRegression()
|
model = LogisticRegression()
|
||||||
model.fit(document_vectors, Y_train)
|
model.fit(document_vectors, Y_train)
|
||||||
|
|
||||||
|
|
||||||
def readFile(filename):
|
def readFile(filename):
|
||||||
X_dev = []
|
X_dev = []
|
||||||
with open(filename, 'r', encoding="utf-8") as dev_in:
|
with open(filename, 'r', encoding="utf-8") as dev_in:
|
||||||
|
Loading…
Reference in New Issue
Block a user