π§ Healthcare Stroke Prediction System
This is a Machine Learning-powered web application that predicts the likelihood of a patient experiencing a stroke based on various clinical and demographic factors (such as age, hypertension, heart disease, smoking status, and BMI).
The application is built using Streamlit for the frontend interface and Scikit-Learn for the underlying Machine Learning pipeline.
π Live Demo
You can interact with the live application directly on Hugging Face Spaces.
π οΈ Features
- Real-time Prediction: Input patient details to get instant stroke risk probability.
- User-Friendly Dashboard: Clean and intuitive UI built with Streamlit.
- Robust ML Pipeline: Features automated scaling and categorical encoding using saved preprocessing artifacts (
scaler.pkl,columns.pkl).
ποΈ Project Structure
The repository structure for this Hugging Face Space is as follows:
βββ app.pytext # Main Streamlit application script
βββ requirements.txt # Python dependencies
βββ model.pkl # Trained Machine Learning Model (Trained using Jupyter Notebook)
βββ scaler.pkl # Fitted Scaler for numerical features
βββ columns.pkl # Saved feature columns list for consistency
βββ README.md # Project documentation and HF configuration
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support