Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ categorical_features = joblib.load("categorical_features.joblib")
|
|
15 |
encoder = joblib.load("encoder.joblib")
|
16 |
|
17 |
|
18 |
-
option = st.sidebar.selectbox("Which dashboard?", ("Model information", "Stroke prediction"))
|
19 |
st.title(option)
|
20 |
|
21 |
def get_pred():
|
@@ -117,4 +117,7 @@ if option == "Model information":
|
|
117 |
|
118 |
|
119 |
st.subheader("Shap values visualization of how features contribute to model prediction")
|
120 |
-
st.image(r'lgbm_model_shap_evaluation.png')
|
|
|
|
|
|
|
|
15 |
encoder = joblib.load("encoder.joblib")
|
16 |
|
17 |
|
18 |
+
option = st.sidebar.selectbox("Which dashboard?", ("Information about training data","Model information", "Stroke prediction"))
|
19 |
st.title(option)
|
20 |
|
21 |
def get_pred():
|
|
|
117 |
|
118 |
|
119 |
st.subheader("Shap values visualization of how features contribute to model prediction")
|
120 |
+
st.image(r'lgbm_model_shap_evaluation.png')
|
121 |
+
st.subheader("Confusion matrix of predictions made by a Light GradientBoost Classifier and it's ROC_Curve")
|
122 |
+
|
123 |
+
st.image([r'lgbm_model_shap_evaluation.png',r'lgbm_model_shap_evaluation.png])
|