Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -11,7 +11,8 @@ encoder= ce.OrdinalEncoder(cols=['work_type'],return_df=True, mapping=[{'col':'w
|
|
11 |
healthcare_stroke_data['work_type'] = encoder.fit_transform(healthcare_stroke_data['work_type'])
|
12 |
|
13 |
exp_clf101 = setup(data = healthcare_stroke_data, target = 'stroke', session_id=123)
|
14 |
-
|
|
|
15 |
|
16 |
model = gr.inputs.Dropdown(adaclassifier3,label="Model")
|
17 |
gender = gr.inputs.Dropdown(choices=["Male", "Female"],label = 'gender')
|
|
|
11 |
healthcare_stroke_data['work_type'] = encoder.fit_transform(healthcare_stroke_data['work_type'])
|
12 |
|
13 |
exp_clf101 = setup(data = healthcare_stroke_data, target = 'stroke', session_id=123)
|
14 |
+
best = compare_models(sort = 'AUC', n_select = 15)
|
15 |
+
compare_model_results = pull()
|
16 |
|
17 |
model = gr.inputs.Dropdown(adaclassifier3,label="Model")
|
18 |
gender = gr.inputs.Dropdown(choices=["Male", "Female"],label = 'gender')
|