Parameters
inputs : AgentsComparatorInput
Custom evaluation configuration. If None, resolves from ‘test.ml’ state.
**kwargs : dict
Additional parameters passed to the Comparator worker.
Inputs full schema can be obtained by
ctx.workers.agents_comparator.spec with main params:inputs == None | → | pipeline data context |
data != None | → | custom data for agents_comparator assessment |
Returns
AgentsComparatorWorker
The populated instance of AgentsComparatorWorker.
Populates attributes into the worker context:
model | → | ctx.workers.agents_comparator |
inputs | → | ctx.workers.agents_comparator.spec |
result | → | ctx.workers.agents_comparator.result |
state | → | ctx.workers.agents_comparator.state |
report | → | ctx.workers.agents_comparator.report |
stats | → | ctx.workers.agents_comparator.stats |
fitter | → | ctx.workers.agents_comparator.fitter |
Registers data into the datasets context:
stats | → | ctx.datasets.stats.agents.comparison |
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.