Extract interactions from complex model using SHAP and add to linear model..
Project description
Welcome to InteractionTransformer
Extract meaningful interactions from machine learning models to obtain machine-learning performance with statistical model interpretability.
Please see our wiki for more information on setting up and running this package: https://github.com/jlevy44/InteractionTransformer/wiki
QUICKSTART DEMOS can be found here:
R: https://github.com/jlevy44/InteractionTransformer/blob/master/demos/InteractionTransformerRDemo.Rmd
Install
Python: We recommend installing using anaconda (https://www.anaconda.com/distribution/). First, install anaconda. Then, run:
conda create -n interaction_transform_environ python=3.7
conda activate interaction_transform_environ
Finally:
pip install interactiontransformer
R
First, install the python pip package. Then:
devtools::install_github("jlevy44/interactiontransformer")
Or:
library(devtools)
install_github("jlevy44/interactiontransformer")
Alternative Python Install Instructions
git clone https://github.com/jlevy44/InteractionTransformer
cd InteractionTransformer
pip install . # make sure conda is running
Author
👤 Joshua Levy
- Github: @jlevy44
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for interactiontransformer-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e678737c79c185d2c77ae7deff9a664e9484a7d2a1c9b3531e0a3c62ff87ea2 |
|
MD5 | 97f8857c1e3d5777d273a44263074071 |
|
BLAKE2b-256 | b796b331889b0a7e82469e5cc6c5967fb2d2331c25580cf68819b91cb4111cdf |