Download models/deployment/model_metadata.json from kardokh/CTRCD: direct link, hf CLI and curl.
- Browser
- Download file 13.1 kB
-
https://huggingface.co/spaces/kardokh/CTRCD/resolve/main/models/deployment/model_metadata.json
- Command line
-
hf download hf://spaces/kardokh/CTRCD/models/deployment/model_metadata.json
-
curl -L -o model_metadata.json https://huggingface.co/spaces/kardokh/CTRCD/resolve/main/models/deployment/model_metadata.json
13.1 kB
| { | |
| "model_info": { | |
| "name": "Cardiotoxicity Prediction Model", | |
| "version": "1.0", | |
| "type": "XGBoost Classifier", | |
| "objective": "Predict cancer treatment-related cardiac dysfunction (CTRCD)", | |
| "created_date": "2025-10-06 06:12:08", | |
| "framework": "xgboost", | |
| "framework_version": "3.0.5" | |
| }, | |
| "data_info": { | |
| "total_samples": 531, | |
| "training_samples": 371, | |
| "validation_samples": 80, | |
| "test_samples": 80, | |
| "positive_class_count": 54, | |
| "positive_class_percentage": 10.17, | |
| "class_imbalance_ratio": 8.8 | |
| }, | |
| "features": { | |
| "total_features": 40, | |
| "selected_features": [ | |
| "heart_rate", | |
| "weight", | |
| "height", | |
| "LVEF", | |
| "LAd", | |
| "PWT", | |
| "LVSd", | |
| "LVDd", | |
| "smoker", | |
| "RWT", | |
| "BSA", | |
| "BMI_overweight", | |
| "BMI", | |
| "exsmoker", | |
| "LVMI", | |
| "LV_mass_approx", | |
| "age_LVEF_interaction", | |
| "age_adjusted_LVEF", | |
| "cumulative_cardiotoxic_treatment", | |
| "CV_risk_score", | |
| "LAVi", | |
| "Fractional_Shortening", | |
| "prior_treatment_count", | |
| "age_cubed", | |
| "BMI_x_combination", | |
| "risk_x_treatment", | |
| "LVEF_x_n_risk_factors", | |
| "LVEF_x_HTA", | |
| "age_squared", | |
| "age_x_AC", | |
| "LVEF_x_AC", | |
| "age_x_antiHER2", | |
| "LVEF_squared", | |
| "LVEF_cubed", | |
| "heart_rate_squared", | |
| "heart_rate_cubed", | |
| "LVDd_to_BSA", | |
| "LAd_to_LVDd", | |
| "LVSd_to_LVDd", | |
| "weight_to_height" | |
| ], | |
| "feature_selection_method": "RFE (Recursive Feature Elimination)", | |
| "original_features": 25, | |
| "engineered_features": 63, | |
| "feature_categories": { | |
| "original": [ | |
| "heart_rate", | |
| "age", | |
| "weight", | |
| "height", | |
| "heart_rhythm", | |
| "LVEF", | |
| "PWT", | |
| "LAd", | |
| "LVDd", | |
| "LVSd", | |
| "AC", | |
| "antiHER2", | |
| "HTA", | |
| "DL", | |
| "DM", | |
| "smoker", | |
| "exsmoker", | |
| "ACprev", | |
| "antiHER2prev", | |
| "RTprev", | |
| "CIprev", | |
| "ICMprev", | |
| "ARRprev", | |
| "VALVprev", | |
| "cxvalv" | |
| ], | |
| "engineered": [ | |
| "BMI", | |
| "BMI_underweight", | |
| "BMI_normal", | |
| "BMI_overweight", | |
| "BMI_obese", | |
| "BSA", | |
| "RWT", | |
| "LV_mass_approx", | |
| "LVMI", | |
| "Fractional_Shortening", | |
| "LA_volume_approx", | |
| "LAVi", | |
| "LV_hypertrophy", | |
| "LA_enlargement", | |
| "LV_dilation", | |
| "LVEF_reduced", | |
| "LVEF_midrange", | |
| "LVEF_preserved", | |
| "LVEF_margin", | |
| "systolic_dysfunction_risk", | |
| "age_group_young", | |
| "age_group_middle", | |
| "age_group_elderly", | |
| "age_LVEF_interaction", | |
| "age_adjusted_LVEF", | |
| "treatment_AC_only", | |
| "treatment_antiHER2_only", | |
| "treatment_combination", | |
| "treatment_none", | |
| "cumulative_cardiotoxic_treatment", | |
| "retreatment_AC", | |
| "retreatment_antiHER2", | |
| "any_retreatment", | |
| "prior_treatment_count", | |
| "CV_risk_score", | |
| "CV_risk_low", | |
| "CV_risk_moderate", | |
| "CV_risk_high", | |
| "CV_risk_very_high", | |
| "n_CV_risk_factors", | |
| "metabolic_syndrome_risk", | |
| "n_previous_cardiac_events", | |
| "any_cardiac_history", | |
| "age_x_AC", | |
| "age_x_antiHER2", | |
| "LVEF_x_AC", | |
| "LVEF_x_antiHER2", | |
| "BMI_x_combination", | |
| "risk_x_treatment", | |
| "age_x_HTA", | |
| "age_x_DM", | |
| "LVEF_x_HTA", | |
| "LVEF_x_n_risk_factors", | |
| "age_squared", | |
| "age_cubed", | |
| "LVEF_squared", | |
| "LVEF_cubed", | |
| "heart_rate_squared", | |
| "heart_rate_cubed", | |
| "LVDd_to_BSA", | |
| "LAd_to_LVDd", | |
| "LVSd_to_LVDd", | |
| "weight_to_height" | |
| ], | |
| "all": [ | |
| "heart_rate", | |
| "age", | |
| "weight", | |
| "height", | |
| "heart_rhythm", | |
| "LVEF", | |
| "PWT", | |
| "LAd", | |
| "LVDd", | |
| "LVSd", | |
| "AC", | |
| "antiHER2", | |
| "HTA", | |
| "DL", | |
| "DM", | |
| "smoker", | |
| "exsmoker", | |
| "ACprev", | |
| "antiHER2prev", | |
| "RTprev", | |
| "CIprev", | |
| "ICMprev", | |
| "ARRprev", | |
| "VALVprev", | |
| "cxvalv", | |
| "BMI", | |
| "BMI_underweight", | |
| "BMI_normal", | |
| "BMI_overweight", | |
| "BMI_obese", | |
| "BSA", | |
| "RWT", | |
| "LV_mass_approx", | |
| "LVMI", | |
| "Fractional_Shortening", | |
| "LA_volume_approx", | |
| "LAVi", | |
| "LV_hypertrophy", | |
| "LA_enlargement", | |
| "LV_dilation", | |
| "LVEF_reduced", | |
| "LVEF_midrange", | |
| "LVEF_preserved", | |
| "LVEF_margin", | |
| "systolic_dysfunction_risk", | |
| "age_group_young", | |
| "age_group_middle", | |
| "age_group_elderly", | |
| "age_LVEF_interaction", | |
| "age_adjusted_LVEF", | |
| "treatment_AC_only", | |
| "treatment_antiHER2_only", | |
| "treatment_combination", | |
| "treatment_none", | |
| "cumulative_cardiotoxic_treatment", | |
| "retreatment_AC", | |
| "retreatment_antiHER2", | |
| "any_retreatment", | |
| "prior_treatment_count", | |
| "CV_risk_score", | |
| "CV_risk_low", | |
| "CV_risk_moderate", | |
| "CV_risk_high", | |
| "CV_risk_very_high", | |
| "n_CV_risk_factors", | |
| "metabolic_syndrome_risk", | |
| "n_previous_cardiac_events", | |
| "any_cardiac_history", | |
| "age_x_AC", | |
| "age_x_antiHER2", | |
| "LVEF_x_AC", | |
| "LVEF_x_antiHER2", | |
| "BMI_x_combination", | |
| "risk_x_treatment", | |
| "age_x_HTA", | |
| "age_x_DM", | |
| "LVEF_x_HTA", | |
| "LVEF_x_n_risk_factors", | |
| "age_squared", | |
| "age_cubed", | |
| "LVEF_squared", | |
| "LVEF_cubed", | |
| "heart_rate_squared", | |
| "heart_rate_cubed", | |
| "LVDd_to_BSA", | |
| "LAd_to_LVDd", | |
| "LVSd_to_LVDd", | |
| "weight_to_height" | |
| ], | |
| "anthropometric": [ | |
| "BMI", | |
| "BMI_underweight", | |
| "BMI_normal", | |
| "BMI_overweight", | |
| "BMI_obese", | |
| "BSA", | |
| "BMI_x_combination", | |
| "LVDd_to_BSA", | |
| "weight_to_height" | |
| ], | |
| "cardiac_structure": [ | |
| "RWT", | |
| "LV_mass_approx", | |
| "LVMI", | |
| "Fractional_Shortening", | |
| "LA_volume_approx", | |
| "LAVi", | |
| "LV_hypertrophy", | |
| "LA_enlargement", | |
| "LV_dilation" | |
| ], | |
| "cardiac_function": [ | |
| "LVEF_reduced", | |
| "LVEF_midrange", | |
| "LVEF_preserved", | |
| "LVEF_margin", | |
| "age_LVEF_interaction", | |
| "age_adjusted_LVEF", | |
| "LVEF_x_AC", | |
| "LVEF_x_antiHER2", | |
| "LVEF_x_HTA", | |
| "LVEF_x_n_risk_factors", | |
| "LVEF_squared", | |
| "LVEF_cubed" | |
| ], | |
| "age_related": [ | |
| "age_group_young", | |
| "age_group_middle", | |
| "age_group_elderly", | |
| "age_LVEF_interaction", | |
| "age_adjusted_LVEF", | |
| "age_x_AC", | |
| "age_x_antiHER2", | |
| "age_x_HTA", | |
| "age_x_DM", | |
| "age_squared", | |
| "age_cubed" | |
| ], | |
| "treatment": [ | |
| "treatment_AC_only", | |
| "treatment_antiHER2_only", | |
| "treatment_combination", | |
| "treatment_none", | |
| "cumulative_cardiotoxic_treatment", | |
| "retreatment_AC", | |
| "retreatment_antiHER2", | |
| "any_retreatment", | |
| "prior_treatment_count", | |
| "risk_x_treatment" | |
| ], | |
| "risk_score": [ | |
| "systolic_dysfunction_risk", | |
| "CV_risk_score", | |
| "CV_risk_low", | |
| "CV_risk_moderate", | |
| "CV_risk_high", | |
| "CV_risk_very_high", | |
| "n_CV_risk_factors", | |
| "metabolic_syndrome_risk", | |
| "risk_x_treatment", | |
| "LVEF_x_n_risk_factors" | |
| ], | |
| "comorbidity": [ | |
| "systolic_dysfunction_risk", | |
| "n_CV_risk_factors", | |
| "metabolic_syndrome_risk", | |
| "n_previous_cardiac_events", | |
| "any_cardiac_history", | |
| "LVEF_x_n_risk_factors" | |
| ], | |
| "interactions": [ | |
| "age_x_AC", | |
| "age_x_antiHER2", | |
| "LVEF_x_AC", | |
| "LVEF_x_antiHER2", | |
| "BMI_x_combination", | |
| "risk_x_treatment", | |
| "age_x_HTA", | |
| "age_x_DM", | |
| "LVEF_x_HTA", | |
| "LVEF_x_n_risk_factors" | |
| ], | |
| "polynomial": [ | |
| "age_squared", | |
| "age_cubed", | |
| "LVEF_squared", | |
| "LVEF_cubed", | |
| "heart_rate_squared", | |
| "heart_rate_cubed" | |
| ], | |
| "ratios": [ | |
| "LVDd_to_BSA", | |
| "LAd_to_LVDd", | |
| "LVSd_to_LVDd", | |
| "weight_to_height" | |
| ] | |
| } | |
| }, | |
| "hyperparameters": { | |
| "colsample_bylevel": 0.5209373494866074, | |
| "colsample_bynode": 0.7520225915617307, | |
| "colsample_bytree": 0.5298311116653025, | |
| "gamma": 3.9248980123423016, | |
| "learning_rate": 0.26913665694390104, | |
| "max_delta_step": 2, | |
| "max_depth": 5, | |
| "max_leaves": 22, | |
| "min_child_weight": 5, | |
| "n_estimators": 427, | |
| "reg_alpha": 9.924232665070894, | |
| "reg_lambda": 7.562339421860171, | |
| "scale_pos_weight": 1.629032868306186, | |
| "subsample": 0.8563561641032563 | |
| }, | |
| "performance": { | |
| "train": { | |
| "roc_auc": 0.7991939307728781, | |
| "pr_auc": 0.32655922402044935 | |
| }, | |
| "validation": { | |
| "roc_auc": 0.7274305555555556, | |
| "pr_auc": 0.2645523856342481 | |
| }, | |
| "test": { | |
| "roc_auc": 0.7960069444444444, | |
| "pr_auc": 0.4150245025245025 | |
| }, | |
| "metrics_optimized_for": "ROC AUC" | |
| }, | |
| "improvements": { | |
| "baseline_test_auc": 0.6094, | |
| "final_test_auc": 0.7960069444444444, | |
| "improvement_percentage": 30.62142179921962, | |
| "feature_reduction": "88 \u2192 40 features (54.5% reduction)" | |
| }, | |
| "threshold_recommendations": { | |
| "default": 0.5, | |
| "high_sensitivity": 0.3, | |
| "high_specificity": 0.7, | |
| "note": "Adjust threshold based on clinical context and cost of false positives/negatives" | |
| }, | |
| "input_requirements": { | |
| "required_columns": [ | |
| "age", | |
| "weight", | |
| "height", | |
| "heart_rate", | |
| "LVEF", | |
| "PWT", | |
| "LAd", | |
| "LVDd", | |
| "LVSd", | |
| "AC", | |
| "antiHER2", | |
| "HTA", | |
| "DL", | |
| "smoker", | |
| "exsmoker", | |
| "diabetes", | |
| "obesity", | |
| "ACprev", | |
| "RTprev", | |
| "heart_rhythm" | |
| ], | |
| "data_types": { | |
| "continuous": [ | |
| "age", | |
| "weight", | |
| "height", | |
| "heart_rate", | |
| "LVEF", | |
| "PWT", | |
| "LAd", | |
| "LVDd", | |
| "LVSd" | |
| ], | |
| "binary": [ | |
| "AC", | |
| "antiHER2", | |
| "HTA", | |
| "DL", | |
| "smoker", | |
| "exsmoker", | |
| "diabetes", | |
| "obesity", | |
| "ACprev", | |
| "RTprev", | |
| "heart_rhythm" | |
| ] | |
| }, | |
| "missing_values": "Handled automatically via preprocessing pipeline", | |
| "units": { | |
| "age": "years", | |
| "weight": "kg", | |
| "height": "cm", | |
| "heart_rate": "bpm", | |
| "LVEF": "%", | |
| "PWT": "cm", | |
| "LAd": "cm", | |
| "LVDd": "cm", | |
| "LVSd": "cm" | |
| } | |
| }, | |
| "clinical_interpretation": { | |
| "top_risk_factors": [ | |
| "CV_risk_score (cardiovascular risk composite)", | |
| "heart_rate_cubed (elevated heart rate)", | |
| "risk_x_treatment (interaction of CV risk with cardiotoxic treatment)", | |
| "cumulative_cardiotoxic_treatment (treatment burden)", | |
| "age_adjusted_LVEF (age-normalized cardiac function)" | |
| ], | |
| "key_insights": [ | |
| "Cardiovascular risk factors compound with cardiotoxic treatment effects", | |
| "Baseline cardiac function (LVEF) is critical predictor", | |
| "Cumulative treatment burden matters - consider prior exposures", | |
| "Heart rate elevation may indicate early cardiac stress", | |
| "Age modifies the effect of cardiac function on risk" | |
| ] | |
| }, | |
| "limitations": { | |
| "sample_size": "Limited to 531 patients from single cohort", | |
| "class_imbalance": "Only 10.17% positive cases - may underpredict rare events", | |
| "external_validation": "Not validated on external datasets", | |
| "temporal": "Does not explicitly model time-to-event", | |
| "imaging": "Does not include advanced cardiac imaging features" | |
| }, | |
| "recommendations": { | |
| "usage": [ | |
| "Use as clinical decision support tool, not sole diagnostic criterion", | |
| "Combine with clinical judgment and additional tests", | |
| "Monitor high-risk patients more frequently", | |
| "Consider cardioprotective strategies for high-risk predictions" | |
| ], | |
| "deployment": [ | |
| "Implement in clinical workflow with physician oversight", | |
| "Regular model monitoring and recalibration", | |
| "Collect feedback for model improvement", | |
| "Ensure interpretability for clinical trust" | |
| ] | |
| } | |
| } |