Spaces:
Runtime error
Runtime error
Commit
·
bee3f66
1
Parent(s):
1753801
model
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def data_description(action_type):
|
|
| 18 |
if action_type == "Input Data":
|
| 19 |
input_data = data_encoded.drop(['Attrition'], axis=1)
|
| 20 |
return input_data.head()
|
| 21 |
-
if action_type == "
|
| 22 |
target_data = data_encoded[['Attrition']]
|
| 23 |
return target_data.head()
|
| 24 |
if action_type == "Feature Selection By Mutual Information":
|
|
@@ -39,7 +39,7 @@ def data_description(action_type):
|
|
| 39 |
return data
|
| 40 |
|
| 41 |
inputs = [
|
| 42 |
-
gr.Dropdown(["Input Data", "
|
| 43 |
]
|
| 44 |
|
| 45 |
outputs = [gr.DataFrame()]
|
|
|
|
| 18 |
if action_type == "Input Data":
|
| 19 |
input_data = data_encoded.drop(['Attrition'], axis=1)
|
| 20 |
return input_data.head()
|
| 21 |
+
if action_type == "Target Data":
|
| 22 |
target_data = data_encoded[['Attrition']]
|
| 23 |
return target_data.head()
|
| 24 |
if action_type == "Feature Selection By Mutual Information":
|
|
|
|
| 39 |
return data
|
| 40 |
|
| 41 |
inputs = [
|
| 42 |
+
gr.Dropdown(["Input Data", "Target Data", "Feature Selection By Mutual Information", "Feature Selection By Chi Square"], label="Develop Data Models")
|
| 43 |
]
|
| 44 |
|
| 45 |
outputs = [gr.DataFrame()]
|