Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,6 @@ lgb_eval = lgb.Dataset(X_test, y_test, reference=lgb_train)
|
|
83 |
probs = gbm.predict(X_test, num_iteration=gbm.best_iteration) # θΎεΊηζ―ζ¦ηη»ζ
|
84 |
|
85 |
fpr, tpr, thresholds = roc_curve(y_test, probs)
|
86 |
-
st.write('------------------------------------')
|
87 |
st.write('Confusion Matrix:')
|
88 |
st.write(confusion_matrix(y_test, np.where(probs > 0.5, 1, 0)))
|
89 |
|
|
|
83 |
probs = gbm.predict(X_test, num_iteration=gbm.best_iteration) # θΎεΊηζ―ζ¦ηη»ζ
|
84 |
|
85 |
fpr, tpr, thresholds = roc_curve(y_test, probs)
|
|
|
86 |
st.write('Confusion Matrix:')
|
87 |
st.write(confusion_matrix(y_test, np.where(probs > 0.5, 1, 0)))
|
88 |
|