Debmalya commited on
Commit
78d7ec0
1 Parent(s): 7ffa06d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ healthcare_stroke_data['gender'] = encoder.fit_transform(healthcare_stroke_data[
10
  encoder= ce.OrdinalEncoder(cols=['work_type'],return_df=True, mapping=[{'col':'work_type', 'mapping':{0: 1, 1: 2, 'children': 3, '2': 4, 'Never_worked': 5}}])
11
  healthcare_stroke_data['work_type'] = encoder.fit_transform(healthcare_stroke_data['work_type'])
12
 
13
- s = setup(data = healthcare_stroke_data, target = 'stroke', normalize = True, normalize_method = 'zscore', transformation=True, fix_imbalance = True, session_id=123, fold = 60, remove_outliers= True, outliers_threshold = 0.05, remove_multicollinearity=True, multicollinearity_threshold = 0.9)
14
 
15
  best = compare_models()
16
  compare_model_results = pull()
 
10
  encoder= ce.OrdinalEncoder(cols=['work_type'],return_df=True, mapping=[{'col':'work_type', 'mapping':{0: 1, 1: 2, 'children': 3, '2': 4, 'Never_worked': 5}}])
11
  healthcare_stroke_data['work_type'] = encoder.fit_transform(healthcare_stroke_data['work_type'])
12
 
13
+ s = setup(data = healthcare_stroke_data, target = 'stroke', fix_imbalance = True, session_id=123)
14
 
15
  best = compare_models()
16
  compare_model_results = pull()