saritha5 commited on
Commit
be9e24e
·
1 Parent(s): ca9331e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -8,14 +8,13 @@ from sklearn.preprocessing import StandardScaler
8
  from xgboost import XGBClassifier
9
  from sklearn.model_selection import train_test_split
10
  from sklearn.preprocessing import LabelEncoder
11
- #from main import cross_sell
12
 
13
 
14
 
15
  st.title("Health Insurance Cross Sell Prediction")
16
  st.sidebar.header('Customer Data')
17
 
18
- df = pd.read_csv('health_insurance.csv')
19
 
20
 
21
  # DATA from user
@@ -50,9 +49,9 @@ def user_report():
50
  is_your_vechile_damaged=0
51
  else:
52
  is_your_vechile_damaged=1
53
- annual_premium = st.sidebar.slider('Enter Annjual premium you pay', 2000,60000, 5000 )
54
  policy_sales_channel= st.sidebar.number_input("Policy Sales Channel(Enter any number between 1 to 160)",step =1,min_value=1,max_value=160)
55
- number_of_days_company = st.sidebar.number_input("Enter the number of days Associaed with company",step=1)
56
 
57
  user_report_data = {
58
  'Gender':gender,
 
8
  from xgboost import XGBClassifier
9
  from sklearn.model_selection import train_test_split
10
  from sklearn.preprocessing import LabelEncoder
 
11
 
12
 
13
 
14
  st.title("Health Insurance Cross Sell Prediction")
15
  st.sidebar.header('Customer Data')
16
 
17
+ #df = pd.read_csv('health_insurance.csv')
18
 
19
 
20
  # DATA from user
 
49
  is_your_vechile_damaged=0
50
  else:
51
  is_your_vechile_damaged=1
52
+ annual_premium = st.sidebar.slider('Enter Annual premium you pay', 2000,60000, 5000 )
53
  policy_sales_channel= st.sidebar.number_input("Policy Sales Channel(Enter any number between 1 to 160)",step =1,min_value=1,max_value=160)
54
+ number_of_days_company = st.sidebar.number_input("Enter the number of days Associaed with company(Vintage)",step=1)
55
 
56
  user_report_data = {
57
  'Gender':gender,