Skip to main content

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

Metadata

Release files for stacking-manual 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stacking-manual 0.1.11
File Size Uploaded
stacking_manual-0.1.11.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stacking-manual 0.1.11
File Interpreter ABI Platform
stacking_manual-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / stacking_manual-0.1.11.tar.gz

Download URL stacking_manual-0.1.11.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d0eb11d4b961055a0049333ea3379a70da593f7e56fe4fa9083ceb7dd774c11f
BLAKE2b-256 checksum
How to use checksums
2af53dc21e7b37a13929f8a640d334e28242f685a0e74614e47fb202d5a9576c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stacking_manual-0.1.11-py3-none-any.whl

Download URL stacking_manual-0.1.11-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ceb05aa8e878fa6ca486017903bd6c57b2566a31ac65d968d33c864155957e3
BLAKE2b-256 checksum
How to use checksums
bbafe5a29c7b7cd1f4dc42466d101b8434d24d40420e5a73163212ac8f62e10a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page