Update app.py
Browse files
app.py
CHANGED
@@ -101,6 +101,7 @@ def get_pred():
|
|
101 |
if option == "Information about training data":
|
102 |
st.header("Stroke Prediction Dataset")
|
103 |
st.subheader("According to the World Health Organization (WHO) stroke is the 2nd leading cause of death globally, responsible for approximately 11% of total deaths. This dataset is used to predict whether a patient is likely to get stroke based on the input parameters like gender, age, various diseases, and smoking status. Each row in the data provides relavant information about the patient.")
|
|
|
104 |
st.subheader(" Stroke dataset has 5110 records and 12 features.")
|
105 |
st.subheader(" Correlation between features:.")
|
106 |
st.image(r'Correlation.png')
|
@@ -111,6 +112,7 @@ if option == "Information about training data":
|
|
111 |
|
112 |
if option == "Stroke prediction":
|
113 |
get_pred()
|
|
|
114 |
|
115 |
if option == "Model information":
|
116 |
st.header("Light gradient boosting model")
|
|
|
101 |
if option == "Information about training data":
|
102 |
st.header("Stroke Prediction Dataset")
|
103 |
st.subheader("According to the World Health Organization (WHO) stroke is the 2nd leading cause of death globally, responsible for approximately 11% of total deaths. This dataset is used to predict whether a patient is likely to get stroke based on the input parameters like gender, age, various diseases, and smoking status. Each row in the data provides relavant information about the patient.")
|
104 |
+
st.subheader("Disclaimer: This project is made out of one American hospital data. For this model to be more relevant to predict your health, it has to bee trained on your population data")
|
105 |
st.subheader(" Stroke dataset has 5110 records and 12 features.")
|
106 |
st.subheader(" Correlation between features:.")
|
107 |
st.image(r'Correlation.png')
|
|
|
112 |
|
113 |
if option == "Stroke prediction":
|
114 |
get_pred()
|
115 |
+
st.subheader("Disclaimer: This project is made out of one American hospital data. For this model to be more relevant to predict your health, it has to bee trained on your population data")
|
116 |
|
117 |
if option == "Model information":
|
118 |
st.header("Light gradient boosting model")
|