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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from clustering import perform_clustering, plot_clusters,summarize_cluster_chara
9
  from feature_selection import select_features_pca, select_features_rfe, select_features_rf
10
  from sklearn.preprocessing import StandardScaler
11
 
12
- feature_descriptions,insurance_defaults,banking_defaults,retail_defaults=data_imp()
13
 
14
  def load_data(dataset_choice):
15
  if dataset_choice == "Insurance":
@@ -48,6 +48,10 @@ def display_dataset_selection():
48
  st.write(data.head())
49
  if dataset_choice=="Insurance":
50
  st.write(feature_descriptions)
 
 
 
 
51
  return data
52
 
53
  # Function to display Modeling & Evaluation section
 
9
  from feature_selection import select_features_pca, select_features_rfe, select_features_rf
10
  from sklearn.preprocessing import StandardScaler
11
 
12
+ insurance_feature_descriptions,bankng_feature_descriptions,retail_feature_descriptions,insurance_defaults,banking_defaults,retail_defaults=data_imp()
13
 
14
  def load_data(dataset_choice):
15
  if dataset_choice == "Insurance":
 
48
  st.write(data.head())
49
  if dataset_choice=="Insurance":
50
  st.write(feature_descriptions)
51
+ elif dataset_choice=="Retail":
52
+ st.write(retail_feature_descriptions)
53
+ else:
54
+ st.write(bankng_feature_descriptions)
55
  return data
56
 
57
  # Function to display Modeling & Evaluation section