Skip to main content

Visualize the relation between a dependent variable and a predictor in a meaningful way

Project description

Build Status Code cov

This library allows you to visually inspect the relation between a dependent variable (the target) and a predictor in a meaningful way. This library is particularly convenient when it is difficult to compute a traditionnal correlation coefficient, for instance when the target and the predictor are categorical. And by the way, Tprojection stands for target projection.

Installation

pip install tprojection

Basic usage

from tprojection import Tprojection

tproj = Tprojection(df, "target", "predictor")
tproj.plot()

Advanced usage

You can find several examples depicting more advanced functionalities in examples/examples.ipynb

Credits

This package was created with Cookiecutter and the cookiecutter-pypackage project template.

History

0.1.0 (2020-01-09)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tprojection-0.2.2.tar.gz (13.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page