Szybka poprawka zadania (dodanie zapisu predykcji)
This commit is contained in:
parent
c5356d322b
commit
fcc6e77ef0
File diff suppressed because it is too large
Load Diff
@ -42,6 +42,8 @@ y_pred = np.around(y_pred, decimals=0)
|
|||||||
|
|
||||||
y_pred[:5]
|
y_pred[:5]
|
||||||
|
|
||||||
|
pd.DataFrame(y_pred).to_csv("preds.csv")
|
||||||
|
|
||||||
print(accuracy_score(y_test, y_pred))
|
print(accuracy_score(y_test, y_pred))
|
||||||
|
|
||||||
print(classification_report(y_test,y_pred))
|
print(classification_report(y_test,y_pred))
|
||||||
|
Loading…
Reference in New Issue
Block a user