A machine learning-powered web application to predict the risk of brain stroke based on user health inputs.
โ
User Authentication (Signup/Login)
โ
Stroke Risk Prediction using RandomForestClassifier
โ
Interactive Form for Input Data
โ
Dynamic Result Display
โ
Profile Management
- Frontend: HTML, CSS, JavaScript
- Backend: Flask
- Machine Learning Model: RandomForestClassifier (saved as
stroke_model.joblib) - Database: SQLite3
- Dataset:
brain_stroke.csv
/hackathon-brain-stroke
โโโ static/ # Static files (CSS, JS)
โโโ templates/ # HTML templates
โโโ app.py # Main Flask application
โโโ save_model.py # Model training script
โโโ stroke_model.joblib # Pre-trained ML model
โโโ brain_stroke.csv # Dataset used for training
โโโ requirements.txt # Dependencies
โโโ edit_profile.html # Edit user profile page
โโโ login.html # Login page
โโโ profile.html # User profile
โโโ result.html # Prediction result page
โโโ signup.html # Signup page
โโโ stroke.html # Stroke prediction form
๐น Improve model accuracy with deep learning
๐น Deploy the project online (e.g., Render, Vercel, or AWS)
๐น Add real-time health monitoring features