Interpretable Contextual-Accountable and Responsible Machine Learning
Overview
A general-purpose framework for Interpretable Contextual-Accountable and Responsible Machine Learning (ICARM) that works with any clean tabular data across any application domain including healthcare, finance, social science, business, and education. Automatically detects whether a prediction task is binary classification, multi-class classification, or regression from the target variable type. Provides a unified entry point icarm_fit() supporting both interpretable learners (Classification and Regression Trees (CART), logistic regression, linear regression, Generalized Additive Models (GAM)) and extended learners (random forest, 'XGBoost', Support Vector Machines (SVM)) with consistent interfaces for global and local model explanation including approximate SHapley Additive exPlanations (SHAP) values and Partial Dependence Profiles (PDPs), learning curve diagnostics, group-level fairness auditing across protected attributes, probability calibration, threshold analysis, multi-model comparison, reproducible JavaScript Object Notation (JSON) audit trails, and accountability scorecards. The contextual accountability framing emphasises that algorithmic fairness and interpretability requirements depend on the deployment domain and must be evaluated accordingly. Extends the 'civic.icarm' framework (Awe 2025) https://cran.r-project.org/package=civic.icarm to general-purpose applications beyond civic and political education.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK6 OK2026-07-01
Documentation
- Help pages
- 39 (1 internal)includes a package overview page
- Examples that run
- 100%30 run in a plain check
- Exported functions with examples
- 81%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 3%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.3.0Latest2026-07-09 · current release · diff ↗ ·
added 6 exports
icarm_ale, icarm_drift, icarm_cv, icarm_plot_ale, icarm_plot_drift, icarm_plot_cv - 0.2.02026-07-09 · diff ↗ ·
added 6 exports
icarm_shap, icarm_pdp, icarm_learning_curve, icarm_plot_shap, icarm_plot_pdp, icarm_plot_learning_curve - 0.1.02026-06-30
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-30
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 18 KB / 3 files
- Download size
- 65 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("icarm")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.