Skip to main content

No project description provided

Project description

Motivation:

Sometimes we train multiple models for different contexts in the data, for example:

  • We want to build many independent linear models, for example estimating elasticity for different products

  • Model input table has a block of observations with NULLS in some features, we want two (or more) independent models; for data with nulls vs without

But, as we build separate models, we have several challenges:

  • It’s hard to keep track of overall (combined) model performance. Often we resort to reporting performance on models individually

  • Many MLOps performance monitoring systems - such as MLFlow - are structured to track a single model object, and having multiple independent model objects can make the interface unwieldy

  • We may resort to doing training and model inference in one shot without saving the model object, since running a training pipeline, then inference pipeline requires saving and loading many models, which is hard to keep track of

This library helps combine models (also known as “stacking”) when you want to explicitly assign the models to fit and predict on specific observations. Currently, the sklearn stacking module does not allow for explicitly assigning models or independent model training

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

stacking_manual-0.1.5.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

stacking_manual-0.1.5-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file stacking_manual-0.1.5.tar.gz.

File metadata

  • Download URL: stacking_manual-0.1.5.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.10

File hashes

Hashes for stacking_manual-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9bc19ac806fa644026115c2e0c979db3ff68fab35727d1e7659592afba99245f
MD5 3d0001af2d12cd44226c162170800467
BLAKE2b-256 8da7de186016e0529de150e66b0a2885b6b5490b3887ef73c2d0bba34e22d0dd

See more details on using hashes here.

File details

Details for the file stacking_manual-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: stacking_manual-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.10

File hashes

Hashes for stacking_manual-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f9bbf7cd11cd7a150325251ffb35ef023dbced9442bd5c62bc3cb1ab7d165fcb
MD5 ba99f04628e29ea0fc3db3baded703e0
BLAKE2b-256 9cd030f016962a4b15e3ad1eea439a6a65a5851701f3c2850b04412726e8e572

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