Skip to main content

A library for data science teams to avoid code duplication in common tasks involving scikit-learn transformers and estimators.

Project description

Data Science Utils

A toolkit for day-to-day DS tasks such as using custom transformers or estimators.

Found a bug or have a feature request? Open an issue!

Usage

First, import the library:

import pier_ds_utils as ds

Transformers

discrete_categorizer = ds.transformer.CustomDiscreteCategorizer(...)
interval_categorizer = ds.transformer.CustomIntervalCategorizer(...)
interval_categorizer_by_category = ds.transformer.CustomIntervalCategorizerByCategory(...)

Estimators

glm_wrapper = ds.estimator.GLMWrapper(...)
predict_proba_selector = ds.estimator.PredictProbaSelector(...)

Predictors

predictor = ds.predictor.StaticGLM(...)

Installation

pip install pier-ds-utils

# or

poetry add pier-ds-utils

For a specific version:

pip install pier-ds-utils@_version_

# or

poetry add pier-ds-utils@_version_

Contributing

Contributions are welcome! Please read the contributing guidelines first.

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

pier_ds_utils-0.5.0a1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pier_ds_utils-0.5.0a1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pier_ds_utils-0.5.0a1.tar.gz.

File metadata

  • Download URL: pier_ds_utils-0.5.0a1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for pier_ds_utils-0.5.0a1.tar.gz
Algorithm Hash digest
SHA256 2bffe3d04ef47df52e4c8e7aeaebac9be1fc606346208026e58d6719f5d98240
MD5 9f9cc4f71949f1013b9f52ce97ad7289
BLAKE2b-256 7d7bdde8398c38c275adc652d41eaabf87e8a791dd591f341a495fe92f879ea3

See more details on using hashes here.

File details

Details for the file pier_ds_utils-0.5.0a1-py3-none-any.whl.

File metadata

  • Download URL: pier_ds_utils-0.5.0a1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for pier_ds_utils-0.5.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 473b46cd2cae594fcc3cf22f75e9bca530cac7bef33638e4e2a8c6a70380191f
MD5 baa05b09965449d3f428e56051fd5b28
BLAKE2b-256 3a09fb62aa1521ae9f309cc0d8a18d7d11e04bd5f461d29c19398784e04e4623

See more details on using hashes here.

Supported by

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