autoprognosis.plugins.prediction.risk_estimation.benchmarks.diabetes.qdiabetes.model module
- class QDiabetesModel(model_type: str)
Bases:
object- fit(*args: Any, **kwargs: Any) QDiabetesModel
- predict(df: DataFrame, times: list = []) Any
- score(X: DataFrame, Y: DataFrame) float
- inference(model: str, gender: str, age: float, b_atypicalantipsy: bool, b_corticosteroids: bool, b_cvd: bool, b_gestdiab: bool, b_learning: bool, b_manicschiz: bool, b_pos: bool, b_statin: bool, b_treatedhyp: bool, bmi: float, ethrisk: int, fbs: float, fh_diab: int, hba1c: float, smoke_cat: int, town: float, surv: int = 10) float
- type2_female_model_a(age: float, b_atypicalantipsy: bool, b_corticosteroids: bool, b_cvd: bool, b_gestdiab: bool, b_learning: bool, b_manicschiz: bool, b_pos: bool, b_statin: bool, b_treatedhyp: bool, bmi: float, ethrisk: int, fh_diab: int, smoke_cat: int, surv: int, town: float) float
- type2_female_model_b(age: float, b_atypicalantipsy: bool, b_corticosteroids: bool, b_cvd: bool, b_gestdiab: bool, b_learning: bool, b_manicschiz: bool, b_pos: bool, b_statin: bool, b_treatedhyp: bool, bmi: float, ethrisk: int, fbs: float, fh_diab: int, smoke_cat: int, surv: int, town: float) float
- type2_female_model_c(age: float, b_atypicalantipsy: bool, b_corticosteroids: bool, b_cvd: bool, b_gestdiab: bool, b_learning: bool, b_manicschiz: bool, b_pos: bool, b_statin: bool, b_treatedhyp: bool, bmi: float, ethrisk: int, fh_diab: int, hba1c: float, smoke_cat: int, surv: int, town: float) float
- type2_male_model_a(age: float, b_atypicalantipsy: bool, b_corticosteroids: bool, b_cvd: bool, b_learning: bool, b_manicschiz: bool, b_statin: bool, b_treatedhyp: bool, bmi: float, ethrisk: int, fh_diab: int, smoke_cat: int, surv: int, town: float) float
- type2_male_model_b(age: float, b_atypicalantipsy: bool, b_corticosteroids: bool, b_cvd: bool, b_learning: bool, b_manicschiz: bool, b_statin: bool, b_treatedhyp: bool, bmi: float, ethrisk: int, fbs: float, fh_diab: int, smoke_cat: int, surv: int, town: float) float
- type2_male_model_c(age: float, b_atypicalantipsy: bool, b_corticosteroids: bool, b_cvd: bool, b_learning: bool, b_manicschiz: bool, b_statin: bool, b_treatedhyp: bool, bmi: float, ethrisk: int, fh_diab: int, hba1c: float, smoke_cat: int, surv: int, town: float) float