Spaces:
Runtime error
Runtime error
Commit
·
d029b63
1
Parent(s):
3fbf080
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def dataframe(file_obj):
|
|
| 19 |
print(df.shape)
|
| 20 |
y_pred = model.predict(df)
|
| 21 |
|
| 22 |
-
pred_df = pd.DataFrame(y_pred
|
| 23 |
print(type(pred_df))
|
| 24 |
print(pred_df.shape)
|
| 25 |
# clr = classification_report(y_test, y_pred, target_names=['Not Fraud','Fraud'])
|
|
|
|
| 19 |
print(df.shape)
|
| 20 |
y_pred = model.predict(df)
|
| 21 |
|
| 22 |
+
pred_df = pd.DataFrame(y_pred)
|
| 23 |
print(type(pred_df))
|
| 24 |
print(pred_df.shape)
|
| 25 |
# clr = classification_report(y_test, y_pred, target_names=['Not Fraud','Fraud'])
|