simran0608 commited on
Commit
c79584f
1 Parent(s): f05f0ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,7 +5,7 @@ import numpy as np
5
  import pickle
6
  import matplotlib.pyplot as plt
7
  from data_preparation import preprocess_data,data_imp
8
- from clustering import perform_clustering, plot_clusters,,summarize_cluster_characteristics
9
  from feature_selection import select_features_pca, select_features_rfe, select_features_rf
10
  from sklearn.preprocessing import StandardScaler
11
 
@@ -51,7 +51,7 @@ def display_dataset_selection():
51
  return data
52
 
53
  # Function to display Modeling & Evaluation section
54
- def display_modeling_evaluation(insurance_defaults,banking_defaults,retail_defaults):
55
  dataset_choice = st.selectbox("Select Dataset", ("Insurance", "Retail", "Banking"))
56
  data = load_data(dataset_choice)
57
  data = preprocess_data(data)
@@ -156,7 +156,7 @@ def main():
156
  display_dataset_selection()
157
 
158
  elif choice == 'Modeling & Prediction':
159
- display_modeling_evaluation(insurance_defaults,banking_defaults,retail_defaults)
160
 
161
  if __name__ == "__main__":
162
  main()
 
5
  import pickle
6
  import matplotlib.pyplot as plt
7
  from data_preparation import preprocess_data,data_imp
8
+ from clustering import perform_clustering, plot_clusters,summarize_cluster_characteristics
9
  from feature_selection import select_features_pca, select_features_rfe, select_features_rf
10
  from sklearn.preprocessing import StandardScaler
11
 
 
51
  return data
52
 
53
  # Function to display Modeling & Evaluation section
54
+ def display_modeling_evaluation():
55
  dataset_choice = st.selectbox("Select Dataset", ("Insurance", "Retail", "Banking"))
56
  data = load_data(dataset_choice)
57
  data = preprocess_data(data)
 
156
  display_dataset_selection()
157
 
158
  elif choice == 'Modeling & Prediction':
159
+ display_modeling_evaluation()
160
 
161
  if __name__ == "__main__":
162
  main()