{
  "_id": "6a11ee4facfb0bcc41d02cdb",
  "Package": "IBLM",
  "Type": "Package",
  "Title": "Interpretable Boosted Linear Models",
  "Version": "2.0.1",
  "Authors@R": "c(\nperson(\"Karol\", \"Gawlowski\", , \"Karol.Gawlowski@citystgeorges.ac.uk\", role = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Paul\", \"Beard\", , \"paul.beard.actuarial@gmail.com\", role = \"aut\")\n)",
  "Description": "Implements Interpretable Boosted Linear Models (IBLMs).\nThese combine a conventional generalized linear model (GLM)\nwith a machine learning component, such as XGBoost. The package\nalso provides tools within for explaining and analyzing these\nmodels. For more details see Gawlowski and Wang (2025)\n<https://ifoa-adswp.github.io/IBLM/reference/figures/iblm_paper.pdf>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.0",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://ifoa-adswp.github.io/IBLM/,\nhttps://github.com/IFoA-ADSWP/IBLM",
  "BugReports": "https://github.com/IFoA-ADSWP/IBLM/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev zlib1g-dev",
  "Repository": "https://ifoa-adswp.r-universe.dev",
  "Date/Publication": "2026-05-23 17:36:34 UTC",
  "RemoteUrl": "https://github.com/ifoa-adswp/iblm",
  "RemoteRef": "HEAD",
  "RemoteSha": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 18:09:47 UTC",
    "User": "root"
  },
  "Author": "Karol Gawlowski [aut, cre, cph],\nPaul Beard [aut]",
  "Maintainer": "Karol Gawlowski <Karol.Gawlowski@citystgeorges.ac.uk>",
  "MD5sum": "1e47045fdd312de6da5b714b22a0819c",
  "_user": "ifoa-adswp",
  "_type": "src",
  "_file": "IBLM_2.0.1.tar.gz",
  "_fileid": "effed0a0e9fc2f37241a07d2fc80457776ea31251e3822dda12a8f6855c81ea7",
  "_filesize": 2893422,
  "_sha256": "effed0a0e9fc2f37241a07d2fc80457776ea31251e3822dda12a8f6855c81ea7",
  "_created": "2026-05-23T18:09:47.000Z",
  "_published": "2026-05-23T18:13:35.916Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77539933515,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7178758109"
    },
    {
      "job": 77539933504,
      "time": 191,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7178758616"
    },
    {
      "job": 77539933522,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7178749331"
    },
    {
      "job": 77539933511,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7178753096"
    },
    {
      "job": 77539674748,
      "time": 285,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7178739311"
    },
    {
      "job": 77539933520,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7178752239"
    },
    {
      "job": 77539933519,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7178754911"
    },
    {
      "job": 77539933513,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7178752783"
    },
    {
      "job": 77539933521,
      "time": 129,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7178752376"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ifoa-adswp/iblm",
  "_commit": {
    "id": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
    "author": "Paul Beard <paulbread88@gmail.com>",
    "committer": "Paul Beard <paulbread88@gmail.com>",
    "message": "better words\n",
    "time": 1779557794
  },
  "_maintainer": {
    "name": "Karol Gawlowski",
    "email": "karol.gawlowski@citystgeorges.ac.uk"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fastDummies",
      "role": "Imports"
    },
    {
      "package": "ggExtra",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "statmod",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "xgboost",
      "version": ">= 3.1.2.1",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    }
  ],
  "_owner": "ifoa-adswp",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 15
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 11
    },
    {
      "week": "2025-39",
      "n": 34
    },
    {
      "week": "2025-40",
      "n": 17
    },
    {
      "week": "2025-41",
      "n": 10
    },
    {
      "week": "2025-42",
      "n": 30
    },
    {
      "week": "2025-43",
      "n": 24
    },
    {
      "week": "2025-44",
      "n": 36
    },
    {
      "week": "2025-45",
      "n": 7
    },
    {
      "week": "2025-46",
      "n": 8
    },
    {
      "week": "2025-47",
      "n": 5
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 8
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-21",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2025-11-15"
    },
    {
      "name": "v1.0.2",
      "date": "2025-12-15"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "paulbeardactuarial",
      "count": 263,
      "uuid": 121761978
    },
    {
      "user": "karol-gawlowski",
      "count": 4,
      "uuid": 80072570
    }
  ],
  "_userbio": {
    "uuid": 220004985,
    "type": "organization",
    "name": "IFoA ADSWP"
  },
  "_downloads": {
    "count": 198,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/IBLM"
  },
  "_devurl": "https://github.com/ifoa-adswp/iblm",
  "_pkgdown": "https://ifoa-adswp.github.io/IBLM/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/IBLM.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ifoa-adswp/iblm",
  "_realowner": "ifoa-adswp",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-11-19"
    },
    {
      "version": "1.0.2",
      "date": "2025-12-16"
    }
  ],
  "_exports": [
    "beta_corrected_density",
    "beta_corrected_scatter",
    "beta_corrections_derive",
    "bias_density",
    "check_iblm_model",
    "correction_corridor",
    "create_beta_corrected_density",
    "create_beta_corrected_scatter",
    "create_bias_density",
    "create_overall_correction",
    "data_beta_coeff_booster",
    "data_beta_coeff_glm",
    "data_to_onehot",
    "explain_iblm",
    "extract_booster_shap",
    "get_pinball_scores",
    "load_freMTPL2freq",
    "overall_correction",
    "shap_to_onehot",
    "split_into_train_validate_test",
    "theme_iblm",
    "train_iblm_xgb",
    "train_xgb_as_per_iblm"
  ],
  "_datasets": [
    {
      "name": "freMTPLmini",
      "title": "French Motor Insurance Claims Dataset",
      "object": "freMTPLmini",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Area",
        "BonusMalus",
        "DrivAge",
        "VehAge",
        "VehBrand",
        "VehPower",
        "ClaimNb",
        "Exposure"
      ],
      "rows": 25000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "beta_corrected_density",
      "title": "Density Plot of Beta Corrections for a Variable",
      "topics": [
        "beta_corrected_density"
      ]
    },
    {
      "page": "beta_corrected_scatter",
      "title": "Scatter Plot of Beta Corrections for a Variable",
      "topics": [
        "beta_corrected_scatter"
      ]
    },
    {
      "page": "beta_corrections_derive",
      "title": "Compute Beta Corrections based on SHAP values",
      "topics": [
        "beta_corrections_derive"
      ]
    },
    {
      "page": "bias_density",
      "title": "Density Plot of Bias Corrections from SHAP values",
      "topics": [
        "bias_density"
      ]
    },
    {
      "page": "check_iblm_model",
      "title": "Check Object of Class `iblm`",
      "topics": [
        "check_iblm_model"
      ]
    },
    {
      "page": "correction_corridor",
      "title": "Plot GLM vs IBLM Predictions with Different Corridors",
      "topics": [
        "correction_corridor"
      ]
    },
    {
      "page": "create_beta_corrected_density",
      "title": "Create Pre-Configured Beta Corrected Density Plot Function",
      "topics": [
        "create_beta_corrected_density"
      ]
    },
    {
      "page": "create_beta_corrected_scatter",
      "title": "Create Pre-Configured Beta Corrected Scatter Plot Function",
      "topics": [
        "create_beta_corrected_scatter"
      ]
    },
    {
      "page": "create_bias_density",
      "title": "Create Pre-Configured Bias Density Plot Function",
      "topics": [
        "create_bias_density"
      ]
    },
    {
      "page": "create_overall_correction",
      "title": "Create Pre-Configured Overall Correction Plot Function",
      "topics": [
        "create_overall_correction"
      ]
    },
    {
      "page": "data_beta_coeff_booster",
      "title": "Obtain Booster Model Beta Corrections for tabular data",
      "topics": [
        "data_beta_coeff_booster"
      ]
    },
    {
      "page": "data_beta_coeff_glm",
      "title": "Obtain GLM Beta Coefficients for tabular data",
      "topics": [
        "data_beta_coeff_glm"
      ]
    },
    {
      "page": "data_to_onehot",
      "title": "Convert Data Frame to Wide One-Hot Encoded Format",
      "topics": [
        "data_to_onehot"
      ]
    },
    {
      "page": "explain_iblm",
      "title": "Explain GLM Model Predictions Using SHAP Values",
      "topics": [
        "explain_iblm"
      ]
    },
    {
      "page": "extract_booster_shap",
      "title": "Extract SHAP values from an xgboost Booster model",
      "topics": [
        "extract_booster_shap",
        "extract_booster_shap.xgb.Booster"
      ]
    },
    {
      "page": "freMTPLmini",
      "title": "French Motor Insurance Claims Dataset",
      "topics": [
        "freMTPLmini"
      ]
    },
    {
      "page": "get_pinball_scores",
      "title": "Calculate Pinball Scores for IBLM and Additional Models",
      "topics": [
        "get_pinball_scores"
      ]
    },
    {
      "page": "load_freMTPL2freq",
      "title": "Load French Motor Third-Party Liability Frequency Dataset",
      "topics": [
        "load_freMTPL2freq"
      ]
    },
    {
      "page": "overall_correction",
      "title": "Plot Overall Corrections from Booster Component",
      "topics": [
        "overall_correction"
      ]
    },
    {
      "page": "predict.iblm",
      "title": "Predict Method for IBLM",
      "topics": [
        "predict.iblm"
      ]
    },
    {
      "page": "shap_to_onehot",
      "title": "Convert Shap values to Wide One-Hot Encoded Format",
      "topics": [
        "shap_to_onehot"
      ]
    },
    {
      "page": "split_into_train_validate_test",
      "title": "Split Dataframe into: 'train', 'validate', 'test'",
      "topics": [
        "split_into_train_validate_test"
      ]
    },
    {
      "page": "theme_iblm",
      "title": "Custom ggplot2 Theme for IBLM",
      "topics": [
        "theme_iblm"
      ]
    },
    {
      "page": "train_iblm_xgb",
      "title": "Train IBLM Model on XGBoost",
      "topics": [
        "train_iblm_xgb"
      ]
    },
    {
      "page": "train_xgb_as_per_iblm",
      "title": "Train XGBoost Model Using the IBLM Model Parameters",
      "topics": [
        "train_xgb_as_per_iblm"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ifoa-adswp/iblm/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ifoa-adswp/iblm/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "colourpicker",
    "commonmark",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastDummies",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggExtra",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "miniUI",
    "otel",
    "pillar",
    "pkgconfig",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinyjs",
    "sourcetools",
    "statmod",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xgboost",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "IBLM.Rmd",
      "filename": "IBLM.html",
      "title": "IBLM",
      "author": "Karol Gawlowski and Paul Beard",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Introduction",
        "Theory",
        "Train",
        "Explain",
        "Beta Corrected Density",
        "Numerical Variables",
        "",
        "VehPower",
        "VehAge",
        "DrivAge",
        "BonusMalus",
        "",
        "Categorical Variables",
        "Beta Corrected Scatter",
        "Bias Corrected Density",
        "Variable",
        "Total",
        "Overall Correction",
        "Link Transformed",
        "Not transformed",
        "Predict",
        "Pinball Score",
        "Correction Corridor",
        "Offsetting and Weighting",
        "Offsetting",
        "Weighting"
      ],
      "created": "2025-11-23 10:24:12",
      "modified": "2026-05-18 20:37:21",
      "commits": 4
    }
  ],
  "_score": 4.929418925714293,
  "_indexed": true,
  "_nocasepkg": "iblm",
  "_universes": [
    "ifoa-adswp"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-23T18:12:10.000Z",
      "distro": "noble",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "491b439015ac666cdba6b54d301da4cb0f8aaee0c6ce2b80fcc959729df44471",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-23T18:12:16.000Z",
      "distro": "noble",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "82981c1be325f577f35b090f1c9bf19d94c8ce294be8933a2ef826ba90dbe5ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-23T18:11:10.000Z",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "91e2ffe0b35cdc1678ecd3228d12c50107b19cd393c9b390ce5717d8716fe7ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-23T18:11:32.000Z",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "f774927d4ff77247e386de51cc74efa91962290948d5552e06a40148e010f0e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-05-23T18:12:12.000Z",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "2f81aae63b85185c88c10dc3ebdf64cd8b264fde0ba182599343083ecf1b740e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-23T18:11:27.000Z",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "180f25b14c691f665e5bda27583780891f3cc174b9325ef548c5132fb434a85e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-23T18:11:05.000Z",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "ff4fff079173c1029cbb7fa90237a70463155fdcfa6b7af8d60dea6c9c7a4157",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-23T18:11:08.000Z",
      "commit": "d495d193fe8df815c5c99570509a1f5d95d0dba2",
      "fileid": "826f966d7c78e1ea6801b8d5f31d9a4d7e0224f500dfbf178c72ebc00023ef85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ifoa-adswp/actions/runs/26339794202"
    }
  ]
}