|
a |
|
b/README.md |
|
|
1 |
# README.md |
|
|
2 |
# Mental Health Readmission Risk Predictor |
|
|
3 |
|
|
|
4 |
This application predicts 30-day readmission risk for mental health hospital patients using machine learning. |
|
|
5 |
|
|
|
6 |
## Setup |
|
|
7 |
1. Clone the repository |
|
|
8 |
2. Create a virtual environment: `python -m venv venv` |
|
|
9 |
3. Activate the virtual environment: |
|
|
10 |
- Windows: `venv\Scripts\activate` |
|
|
11 |
- Unix/MacOS: `source venv/bin/activate` |
|
|
12 |
4. Install requirements: `pip install -r requirements.txt` |
|
|
13 |
5. Place your patient data CSV in the `data` folder |
|
|
14 |
6. Run the app: `streamlit run app/main.py` |
|
|
15 |
|
|
|
16 |
## Project Structure |
|
|
17 |
- `app/`: Main Streamlit application |
|
|
18 |
- `data/`: Data loading and preprocessing |
|
|
19 |
- `models/`: ML model implementation |
|
|
20 |
- `visualization/`: Plotting and visualization |
|
|
21 |
- `utils/`: Utility functions |
|
|
22 |
|
|
|
23 |
## Features |
|
|
24 |
- Machine learning-based readmission risk prediction |
|
|
25 |
- Comprehensive model metrics |
|
|
26 |
- Interactive visualizations |
|
|
27 |
- Model explainability using SHAP |
|
|
28 |
- Feature importance analysis |