Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Repository of code for experiments in the paper "Detection of Esophageal Varices and Prediction of Liver Decompensation in Unresectable Hepatocellular Carcinoma using Artificial Intelligence"

License

Notifications You must be signed in to change notification settings

AsierRabasco/HepatoSageCT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HepatoSageCT

Repository of code for experiments in the paper "Detection of Esophageal Varices and Prediction of Liver Decompensation in Unresectable Hepatocellular Carcinoma using AI" and the implementation of the HepatoSageCT model as well as weights.

Contents of the repository

The repo contains the scripts used for training the HepatoSageCT model as well as the ML models described on the paper alonsgide preprocessing parameters for each model in a .xlsx file. The repository is split between the DL part (with an environment in python 3.9 for feature extraction and another in python 3.13 for the model training and deployment) and the ML part (environment in python 3.13).

What HepatoSageCT is

HepatoSageCT is a model that takes in arterial-phase thorax-abdomen-pelvis region CECTs, which are processed through the MERLIN abdominal CT model (https://github.com/StanfordMIMI/Merlin, Blankemeier et al. 2024), the features are then passed through an MLP that has been trained on unresectable HCC patients shceduled for AtezoBev treatment. The model shows promising results for EV and hepatic decompensation in external validation.

Input needed for testing HepatoSageCT

You need NIFTI files that you pass through the MERLIN foundation model. Each patient´s CT scan should be in its distinct folder. The resulting features (one per scan) should be encoded as .npy files. Then you also need a .csv file with the ID of the patients and the absolute paths to the feature files produced by MERLIN. DICOM files could also work with the MONAI reader but we used NIFTIs.

What HepatoSageCT is NOT

HepatoSageCT is NOT designed to be nor is it at the stage to be considered any sort of medical device. It does not claim to be a substitute for EGD or HVPG for portal-hypertension or the presence of EVs. Intended use is for academic studies at the present.

Training population and scope (HepatoSageCT and ML models)

The model(s) is/are designed for cirrhotic patients with HCC that are scheduled to go for AtezoBev treatment. Training data and external validation comes from French liver centers. Training data does not include patients with TIPS or a history of liver transplants. For the EV prediction model, patients with prior clinical history of acute variceal bleeding were not included in the analysis or training of the models. Validation of results in cohorts from other patients with different underlying population-level drivers of cirrhoses is pending. CTs are taken at mosth 3 months before the first infusion of AtezoBev.

About

Repository of code for experiments in the paper "Detection of Esophageal Varices and Prediction of Liver Decompensation in Unresectable Hepatocellular Carcinoma using Artificial Intelligence"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages