CLivD Simulation Model

Submodules

models.clivd.clivd module

Predict the risk score for developing a certain condition based on the input parameters such as age, sex, alcohol intake, diabetes status, waist-hip ratio, GGT (Gamma-glutamyl transferase), and smoking status. The function limits the alcohol and GGT values based on certain conditions, calculates the risk score using a predefined model, and then maps the score to a risk category (Minimal, Low, Intermediate, or High) based on predefined thresholds. The risk score is returned as a float value.

class biomodel.models.clivd.clivd.CLivD

Bases: CustomModel

Predict the risk score for developing a certain condition based on the input parameters such as age, sex, alcohol intake, diabetes status, waist-hip ratio, GGT (Gamma-glutamyl transferase), and smoking status. The function limits the alcohol and GGT values based on certain conditions, calculates the risk score using a predefined model, and then maps the score to a risk category (Minimal, Low, Intermediate, or High) based on predefined thresholds. The risk score is returned as a float value.

interpretation = 'percentage'
intervals = [RiskInterval(value=0.0, name='Minimal risk'), RiskInterval(value=0.5, name='Low risk'), RiskInterval(value=4, name='Intermediate risk'), RiskInterval(value=10, name='High risk')]
name = 'CLivD'
predict(age: AgeInt(id='age', minimum=20, maximum=100, name='Age'), sex: Enum(id='sex', values={1: 'Male', 2: 'Female'}, name='Sex'), alcohol: Float(id=35810226, minimum=0, maximum=50, name='Alcohol intake (drinks/week)'), diabetes: BoolInt(id=35817874, true=1, false=0, name='Has diabetes?'), whr: Float(id=4087501, minimum=0.6, maximum=1.4, name='Waist-hip ratio'), ggt: Float(id=4210715, minimum=0, maximum=200, name='Gamma-glutamyl transferase (U/L)'), smoking: BoolInt(id=1585856, true=1, false=0, name='Is smoker?')) float

Predict the risk score for developing a certain condition based on the input parameters such as age, sex, alcohol intake, diabetes status, waist-hip ratio, GGT (Gamma-glutamyl transferase), and smoking status. The function limits the alcohol and GGT values based on certain conditions, calculates the risk score using a predefined model, and then maps the score to a risk category (Minimal, Low, Intermediate, or High) based on predefined thresholds. The risk score is returned as a float value.

title = 'Percentage of developing liver disease in the next 15 years'

Module contents