saherPervaiz commited on
Commit
dacbe8f
·
verified ·
1 Parent(s): 62612ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,8 +113,8 @@ if uploaded_file is not None:
113
  model.fit(X_train, y_train)
114
  y_pred = model.predict(X_test)
115
  accuracy = accuracy_score(y_test, y_pred)
116
- classification_rep = classification_report(y_test, y_pred)
117
- results.append([name, accuracy, classification_rep])
118
 
119
  else:
120
  model_choices = [
 
113
  model.fit(X_train, y_train)
114
  y_pred = model.predict(X_test)
115
  accuracy = accuracy_score(y_test, y_pred)
116
+ class_report = classification_report(y_test, y_pred)
117
+ results.append([name, accuracy, class_report])
118
 
119
  else:
120
  model_choices = [