Downloads · 30 days
13
14% of all-time downloads
MorbidCorp/thermal-mortality-model
thermal-mortality-model is a tabular classification model from MorbidCorp. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. It is set up for thrml. The card lists the license as mit.
Initial THRML integration with basic probabilistic mortality modeling capabilities. Includes uncertainty quantification and demographic factor interactions.
Downloads · 30 days
13
14% of all-time downloads
All-time downloads
91
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py32.4 KB · 83%
From the Hugging Face model README
Initial THRML integration with basic probabilistic mortality modeling capabilities. Includes uncertainty quantification and demographic factor interactions.
This model integrates THRML (Thermodynamic HypergRaphical Model Library) with Morbid AI's mortality prediction capabilities, providing probabilistic predictions with uncertainty quantification.
Type: thermal_energy_based_model Framework: THRML + JAX Version: 0.1.1
from thermal.models.life_expectancy import LifeExpectancyEBM
from thermal.graph.mortality_graph import MortalityRecord
# Load mortality data
mortality_data = [...] # List of MortalityRecord objects
# Initialize thermal model
model = LifeExpectancyEBM(mortality_data)
# Make prediction with uncertainty quantification
prediction = model.predict_life_expectancy(
age=45,
country="USA",
sex=1, # 1=male, 2=female, 3=both
n_samples=1000,
confidence_level=0.95
)
print(f"Life Expectancy: {prediction.mean_life_expectancy:.1f} years")
print(f"95% CI: {prediction.confidence_interval}")
print(f"Uncertainty: {prediction.uncertainty:.2f}")
sampling:
The model is trained on mortality data including:
@software{thermal_morbid_ai_0_1_1,
title={Thermal-Enhanced Morbid AI Model},
version={0.1.1},
year={2025},
url={https://huggingface.co/MorbidCorp/thermal-mortality-model}
}
MIT License - see LICENSE file for details.
For questions about this model, please open an issue in the Morbid AI repository.