{
 "model": "LogisticRegression (L1) after median/most-frequent imputation, standardisation and one-hot encoding",
 "intercept": 0.0,
 "base_logit": 0.3007121102975894,
 "threshold": 0.38828193438013014,
 "low_cutoff": 0.24467766128077445,
 "target_recall": 0.9,
 "numeric": [
  {
   "name": "age",
   "fill": 54.0,
   "mean": 53.56929347826087,
   "scale": 9.364774570789017,
   "coef": 0.28807720549939814,
   "z_mean": 2.1427606066304821e-16
  },
  {
   "name": "trestbps",
   "fill": 130.0,
   "mean": 132.1616847826087,
   "scale": 18.272683918797757,
   "coef": 0.07279269587260961,
   "z_mean": 3.8797467654020415e-16
  },
  {
   "name": "chol",
   "fill": 241.0,
   "mean": 245.76766304347825,
   "scale": 51.869077325340115,
   "coef": 0.16922600472723925,
   "z_mean": 9.458014082064852e-17
  },
  {
   "name": "thalch",
   "fill": 140.0,
   "mean": 137.86141304347825,
   "scale": 24.778471330604095,
   "coef": -0.3982031414954263,
   "z_mean": 3.8948313173670573e-16
  },
  {
   "name": "oldpeak",
   "fill": 0.5,
   "mean": 0.8688858695652174,
   "scale": 1.065578970007418,
   "coef": 0.5901747491629322,
   "z_mean": 1.991160859382074e-17
  }
 ],
 "categorical": [
  {
   "name": "sex",
   "fill": "Male",
   "categories": [
    {
     "value": "Female",
     "coef": -1.1600004118249962,
     "z_mean": 0.21603260869565216
    },
    {
     "value": "Male",
     "coef": 0.3104025965758874,
     "z_mean": 0.7839673913043478
    }
   ]
  },
  {
   "name": "cp",
   "fill": "asymptomatic",
   "categories": [
    {
     "value": "asymptomatic",
     "coef": 1.2841769278536934,
     "z_mean": 0.5489130434782609
    },
    {
     "value": "atypical angina",
     "coef": -0.8125473733172037,
     "z_mean": 0.19972826086956522
    },
    {
     "value": "non-anginal",
     "coef": 0.0,
     "z_mean": 0.20652173913043478
    },
    {
     "value": "typical angina",
     "coef": 0.0,
     "z_mean": 0.04483695652173913
    }
   ]
  },
  {
   "name": "restecg",
   "fill": "normal",
   "categories": [
    {
     "value": "lv hypertrophy",
     "coef": 0.0,
     "z_mean": 0.20652173913043478
    },
    {
     "value": "normal",
     "coef": 0.0,
     "z_mean": 0.5991847826086957
    },
    {
     "value": "st-t abnormality",
     "coef": 0.037938391186275164,
     "z_mean": 0.19429347826086957
    }
   ]
  },
  {
   "name": "fbs",
   "fill": 0,
   "categories": [
    {
     "value": 0,
     "coef": 0.0,
     "z_mean": 0.8464673913043478
    },
    {
     "value": 1,
     "coef": 0.0,
     "z_mean": 0.15353260869565216
    }
   ]
  },
  {
   "name": "exang",
   "fill": 0,
   "categories": [
    {
     "value": 0,
     "coef": -0.48370752819332663,
     "z_mean": 0.6399456521739131
    },
    {
     "value": 1,
     "coef": 0.18754687282667723,
     "z_mean": 0.360054347826087
    }
   ]
  }
 ],
 "inputs": [
  {
   "name": "age",
   "label": "Age",
   "unit": "years",
   "kind": "number",
   "step": 1,
   "default": 55,
   "min": 18,
   "max": 100,
   "train_min": 28.0,
   "train_max": 77.0
  },
  {
   "name": "sex",
   "label": "Sex",
   "kind": "select",
   "default": "Male",
   "options": [
    {
     "value": "Male",
     "label": "Male"
    },
    {
     "value": "Female",
     "label": "Female"
    }
   ]
  },
  {
   "name": "cp",
   "label": "Chest pain type",
   "kind": "select",
   "default": "asymptomatic",
   "hint": "Asymptomatic means no chest pain symptoms.",
   "options": [
    {
     "value": "typical angina",
     "label": "Typical angina"
    },
    {
     "value": "atypical angina",
     "label": "Atypical angina"
    },
    {
     "value": "non-anginal",
     "label": "Non-anginal pain"
    },
    {
     "value": "asymptomatic",
     "label": "Asymptomatic"
    }
   ]
  },
  {
   "name": "trestbps",
   "label": "Resting blood pressure",
   "unit": "mmHg",
   "kind": "number",
   "step": 1,
   "default": 130,
   "min": 70,
   "max": 250,
   "train_min": 80.0,
   "train_max": 200.0
  },
  {
   "name": "chol",
   "label": "Cholesterol",
   "unit": "mg/dl",
   "kind": "number",
   "step": 1,
   "default": 220,
   "allow_unknown": true,
   "unknown_label": "I do not know my cholesterol",
   "hint": "If unknown, the model uses a typical value from the training data.",
   "min": 80,
   "max": 650,
   "train_min": 85.0,
   "train_max": 603.0
  },
  {
   "name": "fbs",
   "label": "Fasting blood sugar above 120 mg/dl",
   "kind": "radio",
   "default": 0,
   "options": [
    {
     "value": 0,
     "label": "No"
    },
    {
     "value": 1,
     "label": "Yes"
    }
   ]
  },
  {
   "name": "restecg",
   "label": "Resting ECG result",
   "kind": "select",
   "default": "normal",
   "options": [
    {
     "value": "normal",
     "label": "Normal"
    },
    {
     "value": "lv hypertrophy",
     "label": "Left ventricular hypertrophy"
    },
    {
     "value": "st-t abnormality",
     "label": "ST-T wave abnormality"
    }
   ]
  },
  {
   "name": "thalch",
   "label": "Maximum heart rate",
   "unit": "bpm",
   "kind": "number",
   "step": 1,
   "default": 150,
   "min": 50,
   "max": 230,
   "train_min": 60.0,
   "train_max": 202.0
  },
  {
   "name": "exang",
   "label": "Exercise-induced angina",
   "kind": "radio",
   "default": 0,
   "options": [
    {
     "value": 0,
     "label": "No"
    },
    {
     "value": 1,
     "label": "Yes"
    }
   ]
  },
  {
   "name": "oldpeak",
   "label": "ST depression after exercise (oldpeak)",
   "unit": "",
   "kind": "number",
   "step": 0.1,
   "default": 1.0,
   "hint": "Measured on the exercise ECG.",
   "min": -3.0,
   "max": 7.0,
   "train_min": -2.6,
   "train_max": 6.2
  }
 ],
 "feature_labels": {
  "age": "Age",
  "sex": "Sex",
  "cp": "Chest pain type",
  "trestbps": "Resting blood pressure",
  "chol": "Cholesterol",
  "fbs": "Fasting blood sugar above 120 mg/dl",
  "restecg": "Resting ECG result",
  "thalch": "Maximum heart rate",
  "exang": "Exercise-induced angina",
  "oldpeak": "ST depression after exercise (oldpeak)"
 },
 "examples": [
  {
   "id": "a",
   "label": "Example A",
   "description": "An invented 38-year-old woman with no exercise symptoms",
   "input": {
    "age": 38,
    "sex": "Female",
    "cp": "non-anginal",
    "trestbps": 118,
    "chol": 172,
    "fbs": 0,
    "restecg": "normal",
    "thalch": 178,
    "exang": 0,
    "oldpeak": 0.0
   }
  },
  {
   "id": "b",
   "label": "Example B",
   "description": "An invented 62-year-old man with exercise-induced angina",
   "input": {
    "age": 62,
    "sex": "Male",
    "cp": "asymptomatic",
    "trestbps": 145,
    "chol": 268,
    "fbs": 1,
    "restecg": "st-t abnormality",
    "thalch": 112,
    "exang": 1,
    "oldpeak": 2.4
   }
  },
  {
   "id": "c",
   "label": "Example C",
   "description": "An invented 54-year-old man whose cholesterol was not recorded",
   "input": {
    "age": 54,
    "sex": "Male",
    "cp": "atypical angina",
    "trestbps": 132,
    "chol": null,
    "fbs": 0,
    "restecg": "normal",
    "thalch": 150,
    "exang": 0,
    "oldpeak": 1.0
   }
  },
  {
   "id": "d",
   "label": "Example D",
   "description": "An invented 47-year-old woman with a mixed picture",
   "input": {
    "age": 47,
    "sex": "Female",
    "cp": "typical angina",
    "trestbps": 128,
    "chol": 235,
    "fbs": 0,
    "restecg": "lv hypertrophy",
    "thalch": 140,
    "exang": 1,
    "oldpeak": 1.5
   }
  }
 ],
 "data_version": "2026-09-30-899a98fc"
}