How taathvika-m/mutual_modality_selection works
This is a small Python library for estimating mutual information with the KSG k-nearest-neighbor method. Its principal workflow takes paired samples, prepares and standardizes them, counts neighbors in joint and marginal spaces, and returns an MI estimate. The repository also includes synthetic and MIMIC-IV demo workflows for modality-value and redundancy analysis. The real-data demo implements its own estimator rather than calling the library. Evidence is limited to the supplied excerpts; the README is empty.
Main entry points: ksg.py KSG estimator · simulation.py Synthetic analysis · week_real_data_demo.py MIMIC analysis
Components 5
MI library
- KSG estimator
code/mi_estimator/ksg.py
Analysis demos
- Synthetic analysis
code/experiments/simulation.py - MIMIC analysis
code/experiments/week_real_data_demo.py
Other components
- Caller
- MIMIC-IV demo data
Connections 3
- Caller → KSG estimator: calls
- Synthetic analysis → KSG estimator: calls
code/experiments/simulation.py - MIMIC-IV demo data → MIMIC analysis: reads
code/experiments/week_real_data_demo.py