Metadata-Version: 2.4
Name: mimic_iv_analysis
Version: 1.0.0
Summary: A comprehensive toolkit for analyzing MIMIC-IV clinical database
Home-page: https://github.com/artinmajdi/mimic_iv_analysis
Author: Artin Majdi
Author-email: msm2024@gmail.com
License: MIT License
Project-URL: Issue Tracker, https://github.com/artinmajdi/mimic_iv_analysis/issues
Project-URL: Documentation, https://github.com/artinmajdi/mimic_iv_analysis/blob/main/docs/README.md
Project-URL: Source, https://github.com/artinmajdi/mimic_iv_analysis
Keywords: healthcare,clinical-data,mimic-iv,data-analysis,machine-learning,medical-research
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Healthcare Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10,<3.13
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: dask
Requires-Dist: pyarrow
Requires-Dist: scipy
Requires-Dist: scikit-learn
Requires-Dist: statsmodels
Requires-Dist: matplotlib
Requires-Dist: seaborn
Requires-Dist: plotly
Requires-Dist: altair
Requires-Dist: streamlit
Requires-Dist: tensorflow
Requires-Dist: xgboost
Requires-Dist: shap
Requires-Dist: lifelines
Requires-Dist: networkx
Requires-Dist: mlxtend
Requires-Dist: umap-learn
Requires-Dist: psycopg2-binary
Requires-Dist: datasets
Requires-Dist: transformers
Requires-Dist: tqdm
Requires-Dist: python-dotenv
Requires-Dist: pyyaml
Requires-Dist: joblib
Requires-Dist: watchdog
Requires-Dist: pytest
Requires-Dist: black
Requires-Dist: isort
Requires-Dist: flake8
Requires-Dist: mypy
Requires-Dist: sphinx
Requires-Dist: sphinx-rtd-theme
Provides-Extra: dev
Requires-Dist: pytest>=6.0; extra == "dev"
Requires-Dist: pytest-cov>=2.0; extra == "dev"
Requires-Dist: black>=22.0; extra == "dev"
Requires-Dist: isort>=5.0; extra == "dev"
Requires-Dist: flake8>=3.9; extra == "dev"
Requires-Dist: mypy>=0.9; extra == "dev"
Requires-Dist: sphinx>=4.0; extra == "dev"
Requires-Dist: sphinx-rtd-theme>=1.0; extra == "dev"
Provides-Extra: test
Requires-Dist: pytest>=6.0; extra == "test"
Requires-Dist: pytest-cov>=2.0; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx>=4.0; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1.0; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints>=1.12; extra == "docs"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# MIMIC-IV Analysis

A comprehensive analytical toolkit for exploring and modeling data from the MIMIC-IV clinical database.

## Features

- Exploratory Data Analysis
- Patient Trajectory Visualization
- Order Pattern Analysis
- Predictive Modeling

## Installation

### Prerequisites

- Python 3.12 or higher
- pip or conda package manager

### Option 1: Using pip

```bash
pip install -e ".[dev]"  # Install with development dependencies
```


### Option 3: Manual Installation

1. Create a virtual environment:

```bash
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
```

2. Install dependencies:

```bash
pip install -e ".[dev]"  # Install with development dependencies
```

## Development

### Code Style

This project uses:

- black for code formatting
- isort for import sorting
- flake8 for style guide enforcement
- mypy for static type checking

To format code:

```bash
black .
isort .
```

To check code:

```bash
flake8 .
mypy .
```

### Running Tests

```bash
pytest tests/
pytest --cov=mimic_iv_analysis tests/  # With coverage
```

## Project Structure

```
mimic_iv_analysis/
├── src/                     # Source code directory
│   ├── __init__.py         # Package initialization
│   ├── analysis/           # Analysis modules
│   ├── data/               # Data handling modules
│   ├── core/               # Core functionality
│   ├── utils/              # Utility functions
│   └── visualization/      # Visualization modules
├── tests/                  # Test suite
│   ├── unit/              # Unit tests
│   └── integration/       # Integration tests
├── docs/                   # Documentation
├── scripts/                # Utility scripts
│   └── install.sh         # Installation script
├── setup_config/          # Configuration files
├── .env.example           # Example environment variables
├── .gitignore             # Git ignore rules
├── LICENSE                # Project license
├── pyproject.toml         # Project configuration
├── README.md              # Project documentation
└── setup.py               # Setup configuration
```

## Usage

Run the Streamlit dashboard:

```bash
# If installed with pip:
mimic-iv

# Or directly:
streamlit run src/visualization/app.py
```

## Contributing

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Run tests
5. Submit a pull request

## License

MIT
