Skip to content

wan-mlab/MetaAMI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MetaAMI: A Novel Meta-Learning Approach for Predicting In-Hospital Mortality in Acute Myocardial Infarction

MetaAMI (A Novel Meta-Learning Approach for Predicting In-Hospital Mortality in Acute Myocardial Infarction)is an accurate and cost-effective meta-learning model for predicting in-hospital mortality in acute myocardial infarction patients using routinely collected clinical features. By combining random projection with stacked ensemble learning and an SVM meta-learner, MetaAMI provides reliable risk prediction and supports clinical decision-making for early mortality risk stratification.

Flowchart of MetaAMI

Flowchart of MetaAMI

Table of Contents

Installation

  1. Clone the MetaAMI git repository
git clone https://github.com/wan-mlab/MetaAMI.git
  1. Navigate to the directory of MetaAMI package
cd /your path/MetaAMI
pip install .

Tutorials

how to use the method

from MetaAMI import MetaAMIConfig, run_metaami

cfg = MetaAMIConfig(
    data_path="data/feature.csv",
    label_path="data/label.csv",
    output_dir="results/metaami_run",
    id_col="hadm_id",
    label_col="label",
    rp_dim=10,  #random projection dimention
    n_rp=10,  #number of random projection
    n_splits=10,
    n_repeats=1, #repeat times of random projection
    models=("lr", "svm", "rf", "xgb", "mlp", "ae_mlp", "ot_mlp", "transformer"),
    meta_model="svm_rbf",
    threshold=0.5,
    threshold_strategy="youden",
)

run_metaami(cfg)

Bug Report

If you find any bugs or problems, or you have any comments on MetaAMI, please don't hesitate to contact via email btuerhanbayi@unmc.edu or Issues.

Authors

Bulidierxin Tuerhanbayi, Shibiao Wan

Publication

License

About

A Novel Meta-Learning Approach for Predicting In-Hospital Mortality in Acute Myocardial Infarction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages