Skip to main content

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"
Preprint: https://www.biorxiv.org/content/10.1101/2019.12.15.877134v1

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

Metadata

Release files for interactiontransformer 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for interactiontransformer 0.1.1
File Size Uploaded Provenance Actions
interactiontransformer-0.1.1.tar.gz 9.7 kB Without provenance Details for interactiontransformer-0.1.1.tar.gz

Release files / interactiontransformer-0.1.1.tar.gz

Download URL interactiontransformer-0.1.1.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
18cf1bee229c5c165b7f95cb0afcd286e11732a7830e4bfc058a10cd1b1cd589
BLAKE2b-256 checksum
How to use checksums
b69717c41b113b3bd2d462a21f90692f8cc73b1d8750ee9c80aefe3784b6b9d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.8

Security for interactiontransformer 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page