Gail Simulation Model

Submodules

models.gail.model_gail module

Predicts the risk of breast cancer based on various factors such as age, age at menarche, number of biopsies, age at first live birth, number of relatives, and whether the individual has given birth. The function applies specific risk values based on the input factors and calculates the overall relative risk for breast cancer.

class biomodel.models.gail.model_gail.Gail

Bases: CustomModel

Predicts the risk of breast cancer based on various factors such as age, age at menarche, number of biopsies, age at first live birth, number of relatives, and whether the individual has given birth. The function applies specific risk values based on the input factors and calculates the overall relative risk for breast cancer.

interpretation = 'percentage'
intervals = [RiskInterval(value=5, name='Elevated')]
predict(age: AgeInt(id='age', minimum=20, maximum=80, name='Age'), agemen: Int(id=4162552, minimum=0, maximum=30, name='Age at menarche'), nbiops: Enum(id=4078191, values={0: '0', 1: '1', 2: '>1'}, name='Number of previous breast biopsies'), ageflb: Int(id=35810315, minimum=0, maximum=100, name='Age at first live birth'), numrel: Enum(id='first-degree-relatives-breast-cancer', values={0: '0', 1: '1', 2: '>1'}, name='Number of first-degree relatives with breast cancer'), given_birth: Bool(id=35810313, name='Has given birth?')) float

Predicts the risk of breast cancer based on various factors such as age, age at menarche, number of biopsies, age at first live birth, number of relatives, and whether the individual has given birth. The function applies specific risk values based on the input factors and calculates the overall relative risk for breast cancer.

predict_over_time = False
title = 'Percentage (%) of developing breast cancer in the next 5 years'

Module contents