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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stacking_manual-0.1.6.tar.gz
.
File metadata
- Download URL: stacking_manual-0.1.6.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f44db0b59d40da90eb8934f344c3407049dcb333b9492f7a989d90fa0667380 |
|
MD5 | 3e59ee560beb107c56411e58b9438e5d |
|
BLAKE2b-256 | 3578afc09583ea52ca26725a3e2a2ce54e376da078ab322ebf7cf13d35c58180 |
File details
Details for the file stacking_manual-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: stacking_manual-0.1.6-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c05b050174beb4ac18ce71b25b0fed7a6fbcb567fdc1de98793400a079c055 |
|
MD5 | c9fd2b12bfbcafd565a5d27f99809b6f |
|
BLAKE2b-256 | fc284bd6bc0fd79a1d6cbfab3f4b39a983d99e5c301703158b65fab6bf47c116 |