singhk28 commited on
Commit
1dad5d4
1 Parent(s): d6586a1

remove unused modules. Fix grammar.

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,7 +5,6 @@ import streamlit as st
5
  from pycaret import regression as reg
6
  from pycaret import classification as clf
7
  from sklearn.metrics import mean_absolute_error, max_error, r2_score, mean_squared_error, confusion_matrix, ConfusionMatrixDisplay
8
- from sklearn.metrics import accuracy_score, auc, recall_score, precision_score, f1_score, cohen_kappa_score
9
  import matplotlib.pyplot as plt
10
  import streamlit.components.v1 as components
11
  import mpld3
@@ -46,7 +45,7 @@ mode_type = st.selectbox("What would you like to use the tool for?", ('Benchmark
46
  if mode_type == 'Parameter Search (find combination of parameters to get a desired value)':
47
  ## Desired Target Value
48
  if mod_type == 'classifier':
49
- st.write('Parameter search not currently supported with classifier type models.')
50
  st.write('Please refresh page and try again with the supported tasks.')
51
  exit()
52
 
 
5
  from pycaret import regression as reg
6
  from pycaret import classification as clf
7
  from sklearn.metrics import mean_absolute_error, max_error, r2_score, mean_squared_error, confusion_matrix, ConfusionMatrixDisplay
 
8
  import matplotlib.pyplot as plt
9
  import streamlit.components.v1 as components
10
  import mpld3
 
45
  if mode_type == 'Parameter Search (find combination of parameters to get a desired value)':
46
  ## Desired Target Value
47
  if mod_type == 'classifier':
48
+ st.write('Parameter search is not currently supported with classifier type models.')
49
  st.write('Please refresh page and try again with the supported tasks.')
50
  exit()
51