Skip to content

Extract meaningful interactions from machine learning models to obtain machine-learning performance with statistical model interpretability.

License

Notifications You must be signed in to change notification settings

jlevy44/InteractionTransformer

Repository files navigation

Welcome to InteractionTransformer

Version

Extract meaningful interactions from machine learning models to obtain machine-learning performance with statistical model interpretability.

Code accompanying the manuscript: "Don't Dismiss Logistic Regression: The Case for Sensible Extraction of Interactions in the Era of Machine Learning"
BMC Medical Research Methodology: https://bmcmedresmethodol.biomedcentral.com/articles/10.1186/s12874-020-01046-3

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:

Python: https://github.com/jlevy44/InteractionTransformer/blob/master/demos/InteractionTransformerPythonDemo.ipynb

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

About

Extract meaningful interactions from machine learning models to obtain machine-learning performance with statistical model interpretability.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published