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.7.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stacking_manual-0.1.7.tar.gz
  • Upload date:
  • Size: 1.7 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.7.tar.gz
Algorithm Hash digest
SHA256 8859465e003db305156233b51235c5c59b6e46898d2788edc6b61fa105d42681
MD5 4b357dc06040e822b30910e380a64eef
BLAKE2b-256 d2ecc3f69ed92ac03207efae57e390cc35a5d3d8be17844dea19e1ee8d0bebad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stacking_manual-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e23fea40a228e73582dfec6a4f6d5f0b082f43d50e6d032143a07bd50731f63f
MD5 bb073c586df3c028d593917c97b2b0b0
BLAKE2b-256 1af44504a3bc0523635428b0a23bafc727db0ce662349284d1182c72a8254b85

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