🧠 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
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support