# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "aplime" in publications use:' type: software license: MIT title: 'aplime: Adaptive Piecewise Local Model-Agnostic Explanations' version: 0.1.0 abstract: 'Implements Adaptive Piecewise Local Interpretable Model-Agnostic Explanations (AP-LIME) and its second-order interaction extension (AP2-LIME) for interpreting predictions from machine learning models. The methods replace the conventional locally weighted linear surrogate in LIME with Multivariate Adaptive Regression Splines (MARS). AP-LIME uses additive piecewise-linear hinge functions, whereas AP2-LIME allows pairwise interactions between hinge functions. The package generates proximity-weighted local explanations, estimates feature contributions, evaluates local surrogate fit, and assesses explanation stability across repeated runs. Stability is measured using the Variables Stability Index (VSI) and Coefficients Stability Index (CSI), including normal-theory and percentile bootstrap confidence intervals. MARS terms with the same predictors, hinge directions, and interaction structure are matched independently of knot locations. Coefficients within matched groups are summarized by their arithmetic mean, while the original knot thresholds remain available for inspection. The MARS-based local explanation approach is discussed by Somuncuoglu and Purutcuoglu (2027, ISBN:978-1-041-34431-5), "Explainable AI Approaches in Biomedical Signals: A Case Study with Pima Indians Diabetes Dataset", in "Biomedical Data Science: A Focus on Signaling", CRC Press.' authors: - family-names: Somuncuoğlu given-names: Abdullah Nuri email: abdullah.somuncuoglu@metu.edu.tr affiliation: Department of Biomedical Engineering - family-names: Purutçuoğlu given-names: Vilda email: vpurutcu@metu.edu.tr affiliation: Department of Statistics repository: https://cran.r-universe.dev commit: d7a9803eb7d710d2d7dbcf78f85e49cc2e476024 date-released: '2026-11-12' contact: - family-names: Purutçuoğlu given-names: Vilda email: vpurutcu@metu.edu.tr affiliation: Department of Statistics