Skip to main content

Code for producing regression enrichment analysis

Project description

Regression Enrichment Surface

Under dev.

How to use Simple case: To produced average plots over some stratification (useful for dose response like data to produce results over types of cells for instance)

trues, preds = get_predicition_data()
rds_model = rds.RegressionEnrichmentSurface(percent_min=-3)
    rds_model.compute(trues, preds, samples=30)
    rds_model.plot(save_file=args.metric_plot_prefix + "rds_on_cell.png",
                   title='Regression Enrichment Surface (Avg over Unique Cells)')

To produced average plots over some stratification (useful for dose response like data to produce results over types of cells for instance)

trues, preds, labels = get_predicition_data()
rds_model = rds.RegressionEnrichmentSurface(percent_min=-3)
    rds_model.compute(trues, preds, stratify=labels, samples=30)
    rds_model.plot(save_file=args.metric_plot_prefix + "rds_on_cell.png",
                   title='Regression Enrichment Surface (Avg over Unique Cells)')
https://img.shields.io/pypi/v/regression_enrichment_surface.svg https://img.shields.io/travis/aclyde11/regression_enrichment_surface.svg Documentation Status

Code for producing regression enrichment analysis

Features

  • TODO

Credits

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

History

0.1.0 (2020-01-01)

  • 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

regression_enrichment_surface-0.3.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

regression_enrichment_surface-0.3.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file regression_enrichment_surface-0.3.0.tar.gz.

File metadata

  • Download URL: regression_enrichment_surface-0.3.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for regression_enrichment_surface-0.3.0.tar.gz
Algorithm Hash digest
SHA256 28071d1f5d42353f5866458472b4e1ed98dc94fa1f614f50e46cd783899145b6
MD5 700fd6afb20b99171bf66d06b8a89a15
BLAKE2b-256 0850d063827b5552c83868efd23c88b4b21ae0aa690fae993f3ba1dd94e671d5

See more details on using hashes here.

File details

Details for the file regression_enrichment_surface-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: regression_enrichment_surface-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for regression_enrichment_surface-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1706fbcd002d98f82de33aa0ee26226b4b4f004bb914bd53846223d5d4c21ef9
MD5 893124b989b0a21ff6764a6bf47ff72f
BLAKE2b-256 70debb02b8b33876bbad1ca612daa179ec9b035cfed82a081b6bebb4e046c298

See more details on using hashes here.

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