Spaces:
Sleeping
Sleeping
Update tasks/text.py
Browse files- tasks/text.py +1 -1
tasks/text.py
CHANGED
@@ -73,7 +73,7 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
73 |
predictions = [random.randint(0, 7) for _ in range(len(true_labels))]
|
74 |
|
75 |
#LR = LogisticRegression(class_weight='balanced', max_iter=20, random_state=1234,
|
76 |
-
|
77 |
#LR.fit(pd.DataFrame.sparse.from_spmatrix(tfidf_train), pd.DataFrame(y_train_v))
|
78 |
#predictions=LR.predict(pd.DataFrame.sparse.from_spmatrix(tfidf_test))
|
79 |
#--------------------------------------------------------------------------------------------
|
|
|
73 |
predictions = [random.randint(0, 7) for _ in range(len(true_labels))]
|
74 |
|
75 |
#LR = LogisticRegression(class_weight='balanced', max_iter=20, random_state=1234,
|
76 |
+
# solver='liblinear')
|
77 |
#LR.fit(pd.DataFrame.sparse.from_spmatrix(tfidf_train), pd.DataFrame(y_train_v))
|
78 |
#predictions=LR.predict(pd.DataFrame.sparse.from_spmatrix(tfidf_test))
|
79 |
#--------------------------------------------------------------------------------------------
|