Page 128 - FULL REPORT 30012024
P. 128
stroke data inside the online interface. Figure 4.50 displays a snapshot of
the dashboard page.
Figure 4.50 Screenshot of Dashboard page.
v. Prediction Page
The "Stroke Risk Predictor" page on the web application is architected to
furnish users with a tool for evaluating their individual stroke risk. The
website consists of a sleek and user-friendly form that encourages visitors
to input precise personal and health-related information. This includes
demographic information such as gender, age, and marital status, along
with job and residential characteristics, supplemented by crucial health
indicators such as hypertension, heart disease status, body measures, and
smoking behaviours. After the user submits the information, it is processed
and saved in the 'userdata' table in the application's database. Then, users
are sent to a results page where their stroke risk is shown. The Python
function 'predict_stroke_risk' is seen in Figure 4.51. It serves as the
underlying mechanism for the stroke risk assessment form on the web
application.
111