8000 GitHub - ji-chartsiri/AICO: Model-Agnostic Feature Significance Test
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ji-chartsiri/AICO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AICO: Feature Significance Tests for Supervised Learning

This repository provides the implementation of AICO (Add-In Covariates), a model-agnostic feature significance test for supervised learning models. Developed by the Advanced Financial Technologies Laboratory (AFTLab) at Stanford University, AICO aims to enhance model transparency and provide insights into feature importance for machine learning algorithms.

Overview

Supervised learning algorithms are increasingly being used to guide economic and social decisions. However, the opaqueness of these algorithms presents significant challenges, particularly in highly regulated domains such as financial services, healthcare, and the judicial sector, where transparency is crucial.

This project introduces AICO, a feature significance test that improve model transparency by testing the significance of input features (variables) in a supervised learning algorithm. AICO evaluates the incremental effect of each feature on model predictive or decision performance, relative to a baseline where features' information are removed.

Contributions

AICO offers a flexible and powerful framework for hypothesis testing in supervised machine learning models, with the following key features:

  • Model-Agnostic: The AICO framework is model-agnostic, meaning it can be applied to any supervised learning model—whether regression or classification—without making assumptions about the model's underlying structure.
  • Statistically Rigorous: Provides robust measures of feature importance, including exact, non-asymptotic p-values and confidence intervals, and feature importance scores, enabling the features ranking.
  • Computational Efficiency: Requires no retraining or refitting of the model, making it computationally efficient.

Repository Structure

  • Source Code: The main source code is located in the src folder.
  • Demonstration: Usage of the AICO test is demonstrated in Demo.ipynb, a Jupyter notebook that walks through applying AICO to different types of datasets.
  • Environment Setup: The conda environment used to develop this project is provided in environment.yml. This file contains all the necessary dependencies and packages for running the code in the repository.

Installation

To set up the environment, use the following command:

conda env create -f environment.yml

This command will create a conda environment with all the required packages.

Running the Demonstration

The Demo.ipynb notebook includes an end-to-end demonstration of the AICO test with simulated regression data, simulated classification data, and empirical data.

About

Model-Agnostic Feature Significance Test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0