A data science and machine learning framework for nursing research
Project description
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
pip install -e ".[dev]" # Install with development dependencies
Option 3: Manual Installation
- Create a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
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:
black .
isort .
To check code:
flake8 .
mypy .
Running Tests
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:
# If installed with pip:
mimic-iv
# Or directly:
streamlit run src/visualization/app.py
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mimic_iv_analysis-0.5.6.tar.gz
(107.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mimic_iv_analysis-0.5.6.tar.gz.
File metadata
- Download URL: mimic_iv_analysis-0.5.6.tar.gz
- Upload date:
- Size: 107.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
494b844acfa13ba69d51448a912b59983af7c9840d0141cd19916787b09929ad
|
|
| MD5 |
443d03fcb74945917820325d29cea95e
|
|
| BLAKE2b-256 |
b43e3595c4b5076a6d180413b2e644547a2971e822b9dd0be4fdd57b6d45375f
|
File details
Details for the file mimic_iv_analysis-0.5.6-py3-none-any.whl.
File metadata
- Download URL: mimic_iv_analysis-0.5.6-py3-none-any.whl
- Upload date:
- Size: 117.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c4b90e78f245e2a34025ae6e1acb4c5ea3d33d271c9562f3f266a212d44e2b6
|
|
| MD5 |
4c99b6271587da0269e662991aeb372c
|
|
| BLAKE2b-256 |
bbb48cf731ee65e7205e6888c66eb64307fdb6f712f98e07626f6fb81c9a7cf6
|