PyTorch
TabPFN
medical-imaging
mri
glioma
radiogenomics
idh
1p19q
who-cns5
radiomics
conformal-prediction
research-only
Instructions to use ABRUBAB/GlioTRUST with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TabPFN
How to use ABRUBAB/GlioTRUST with TabPFN:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download config.json from ABRUBAB/GlioTRUST: direct link, hf CLI and curl.
- Browser
- Download file 2.3 kB
-
https://huggingface.co/ABRUBAB/GlioTRUST/resolve/main/config.json
- Command line
-
hf download hf://ABRUBAB/GlioTRUST/config.json
-
curl -L -o config.json https://huggingface.co/ABRUBAB/GlioTRUST/resolve/main/config.json
2.3 kB
| { | |
| "name": "GlioTRUST", | |
| "version": "1.0.0", | |
| "fold": "leave-TCGA-out (models trained on UCSF-PDGM, UPENN-GBM, UTSW-Glioma and auxiliary BraTS 2021 scans; the frozen model of the locked TCGA test)", | |
| "seeds": [ | |
| 0, | |
| 1, | |
| 2 | |
| ], | |
| "cnn": { | |
| "files": [ | |
| "cnn/dn121v2_locotcga_s0.safetensors", | |
| "cnn/dn121v2_locotcga_s1.safetensors", | |
| "cnn/dn121v2_locotcga_s2.safetensors" | |
| ], | |
| "architecture": "3-D DenseNet-121 (MONAI), 5 input channels (T1, T1c, T2, FLAIR, whole-tumour mask) + age/sex", | |
| "cube_mm": 96, | |
| "tta": "left-right mirror", | |
| "age_mean": 55.0, | |
| "age_sd": 15.0 | |
| }, | |
| "segmenter": { | |
| "file": "segmenter/seg_dnunet_xtcga.safetensors", | |
| "architecture": "DenseNet-121 encoder + U-Net decoder (WT, TC, ET), trained without TCGA and UCSD", | |
| "roi": 128, | |
| "overlap": 0.5, | |
| "mirror": true, | |
| "min_component_frac": 0.2 | |
| }, | |
| "radiomics": { | |
| "tabpfn": { | |
| "tasks": [ | |
| "idh", | |
| "hgg", | |
| "g4" | |
| ], | |
| "k_best": 500, | |
| "n_estimators": 8, | |
| "random_state": 0, | |
| "checkpoint": "tabpfn/tabpfn-v2-classifier-finetuned-zk73skhh.ckpt", | |
| "library": "tabpfn==2.1.3", | |
| "store": "radiomics/columns_shell.txt" | |
| }, | |
| "logistic": { | |
| "tasks": [ | |
| "codel" | |
| ], | |
| "C": 0.005, | |
| "store": "radiomics/columns_subregion.txt" | |
| }, | |
| "pyradiomics": { | |
| "version": "3.1.0 (git tag v3.1.0)", | |
| "binCount": 32, | |
| "image_types": [ | |
| "Original", | |
| "LoG sigma 3" | |
| ], | |
| "regions": [ | |
| "ET", | |
| "NCR", | |
| "ED", | |
| "WT", | |
| "RING (10 mm)" | |
| ] | |
| } | |
| }, | |
| "fusion": { | |
| "weights": { | |
| "idh": 0.5, | |
| "codel": 0.75, | |
| "g4": 0.25, | |
| "hgg": 0.25, | |
| "mgmt": 0.75 | |
| }, | |
| "rule": "logit p = (1 - w) logit p_image + w logit p_radiomics; CNS5 type from fused IDH and 1p/19q; mean of 3 seeds" | |
| }, | |
| "conformal": { | |
| "alpha": 0.1, | |
| "method": "LAC", | |
| "q_type3": [ | |
| 0.4354622830493303, | |
| 0.4924439983336174, | |
| 0.41719411283603736 | |
| ], | |
| "n_type3": [ | |
| 239, | |
| 235, | |
| 230 | |
| ], | |
| "q_idh": [ | |
| 0.21116137461968965, | |
| 0.30568809130501096, | |
| 0.20492623771518126 | |
| ], | |
| "n_idh": [ | |
| 245, | |
| 243, | |
| 235 | |
| ], | |
| "q_type3_mean": 0.448366798072995, | |
| "q_idh_mean": 0.24059190121329396, | |
| "rule": "set = classes with mean probability >= 1 - mean(q_s); one class -> answer, otherwise refer" | |
| } | |
| } |