Parameters
inputs : FeStabilizerInput
Custom stability configuration. If None, resolves from ‘.clean’ state.
is_target : bool
If True, performs stability check on the target variable instead of features (skips registration of result datasets). Defaults to False.
**kwargs : dict
Additional parameters passed to the FeatureStabilizer worker.
Inputs full schema can be obtained by
ctx.workers.fe_stabilizer.spec with main params:inputs == None | → | pipeline data context |
train_set != None | → | custom train data for fe_stabilizer training and feature temporal cleaning |
test_set != None | → | custom test data might be provided to obtain temporal view and stats |
num_features != None | → | optional subset of numerical features |
cat_features != None | → | optional subset of categorical features |
Returns
FeatureStabilizerWorker
The populated instance of FeatureStabilizerWorker.
Populates attributes into the worker context:
model | → | ctx.workers.fe_stabilizer |
inputs | → | ctx.workers.fe_stabilizer.spec |
result | → | ctx.workers.fe_stabilizer.result |
state | → | ctx.workers.fe_stabilizer.state |
report | → | ctx.workers.fe_stabilizer.report |
stats | → | ctx.workers.fe_stabilizer.stats |
fitter | → | ctx.workers.fe_stabilizer.fitter |
Registers data into the datasets context:
features | → | ctx.datasets.features.all.stable.dist |
features | → | ctx.datasets.features.num.stable.dist |
features | → | ctx.datasets.features.cat.stable.dist |
dropped | → | ctx.datasets.features.all.dropped.stable.dist |
dropped | → | ctx.datasets.features.num.dropped.stable.dist |
dropped | → | ctx.datasets.features.cat.dropped.stable.dist |
stats | → | ctx.datasets.stats.stable.features |
Examples
Defining the Project Context (Control Plane) & Project Scope:Worker → Model → Fitter
Accessing worker’s inputs schema → parameters & types (shown in the display output):Model → Fitter
Once worker has been executed, we can obtain internal fitter state and its parametrization (shown in the display output):Attributes
All worker attributes return
None prior its execution.