Parameters
inputs : ObsStabilizerInput
Custom outlier configuration. If None, resolves from ‘.stable.dist’ state.
**kwargs : dict
Additional parameters passed to the ObservationStabilizer worker.
Inputs full schema can be obtained by
ctx.workers.obs_stabilizer.spec with main params:inputs == None | → | pipeline data context |
train_set != None | → | custom train data for obs_stabilizer training and outliers cleaning |
num_features != None | → | optional subset of numerical features |
cat_features != None | → | optional subset of categorical features |
Returns
ObservationStabilizerWorker
The populated instance of ObservationStabilizerWorker.
Populates attributes into the worker context:
model | → | ctx.workers.obs_stabilizer |
inputs | → | ctx.workers.obs_stabilizer.spec |
result | → | ctx.workers.obs_stabilizer.result |
state | → | ctx.workers.obs_stabilizer.state |
report | → | ctx.workers.obs_stabilizer.report |
stats | → | ctx.workers.obs_stabilizer.stats |
fitter | → | ctx.workers.obs_stabilizer.fitter |
Registers data into the datasets context:
data | → | ctx.datasets.train.stable |
stats | → | ctx.datasets.stats.stable.observations |
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.