arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.15306cs.LG
收藏

xplainfi:基于R的机器学习中的特征重要性与统计推断

xplainfi: Feature Importance and Statistical Inference for Machine Learning in R

Lukas Burk, Fiona Katharina Ewald, Giuseppe Casalicchio, Marvin N. Wright, Bernd Bischl

AI总结:

xplainfi是基于R语言mlr3生态系统的机器学习特征重要性工具包,提供全局、基于损失的特征重要性方法,包含排列特征重要性、条件特征重要性等,并支持统计推断。

摘要:

我们介绍了xplainfi,一个基于R语言mlr3生态系统的包,用于机器学习模型的全局、基于损失的特征重要性方法。R中存在多种特征重要性方法,但存在显著差距,尤其是在条件重要性方法和相关统计推断程序方面。该包实现了排列特征重要性、条件特征重要性、相对特征重要性、leave-one-covariate-out以及这些方法的扩展,并提供边际和条件Shapley additive global重要性方法。它基于高斯分布、对抗随机森林、条件推断树和基于knockoff的采样器构建了模块化的条件采样架构,能够对连续和混合数据进行条件重要性分析。统计推断通过多种方法实现,包括方差校正的置信区间和条件预测影响框架。我们证明xplainfi在多种模拟设置和学习者类型中产生的重要性分数与现有实现一致,同时提供有竞争力的运行时间性能。该包可在CRAN上获得,为研究人员和实践者提供了全面的特征重要性分析和模型解释工具。

英文摘要:

We introduce xplainfi, an R package built on top of the mlr3 ecosystem for global, loss-based feature importance methods for machine learning models. Various feature importance methods exist in R, but significant gaps remain, particularly regarding conditional importance methods and associated statistical inference procedures. The package implements permutation feature importance, conditional feature importance, relative feature importance, leave-one-covariate-out, and generalizations thereof, and both marginal and conditional Shapley additive global importance methods. It provides a modular conditional sampling architecture based on Gaussian distributions, adversarial random forests, conditional inference trees, and knockoff-based samplers, which enable conditional importance analysis for continuous and mixed data. Statistical inference is available through multiple approaches, including variance-corrected confidence intervals and the conditional predictive impact framework. We demonstrate that xplainfi produces importance scores consistent with existing implementations across multiple simulation settings and learner types, while offering competitive runtime performance. The package is available on CRAN and provides researchers and practitioners with a comprehensive toolkit for feature importance analysis and model interpretation in R.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑