Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -895,7 +895,7 @@ def plots(original_data):
|
|
895 |
st.plotly_chart(fig, use_container_width=True)
|
896 |
|
897 |
|
898 |
-
def ML(filtered_data, scaler
|
899 |
man = filtered_data.copy()
|
900 |
man=man.dropna()
|
901 |
|
@@ -997,7 +997,7 @@ def imputer(filtered_data):
|
|
997 |
Ml_data = Ml_data.drop(columns=columns_drop)
|
998 |
Ml_data = pd.concat([Ml_data, scaled_data], axis=1)
|
999 |
Ml_data = Ml_data.convert_dtypes() # change this to outlier_removed if you want outliwer to be removed
|
1000 |
-
return ML(Ml_data, scaler
|
1001 |
|
1002 |
|
1003 |
|
|
|
895 |
st.plotly_chart(fig, use_container_width=True)
|
896 |
|
897 |
|
898 |
+
def ML(filtered_data, scaler):
|
899 |
man = filtered_data.copy()
|
900 |
man=man.dropna()
|
901 |
|
|
|
997 |
Ml_data = Ml_data.drop(columns=columns_drop)
|
998 |
Ml_data = pd.concat([Ml_data, scaled_data], axis=1)
|
999 |
Ml_data = Ml_data.convert_dtypes() # change this to outlier_removed if you want outliwer to be removed
|
1000 |
+
return ML(Ml_data, scaler)
|
1001 |
|
1002 |
|
1003 |
|