Skip to main content
Step 16: Divergence Analysis (Stability Screening). Analyzes the ‘agreement’ between different agent strategies. By calculating transition matrices, this step identifies where agents disagree on a sample’s risk level, highlighting potential instability or overfitting in specific segments of the data.

Parameters

inputs : AgentsTransitionInput
Custom transition configuration. If None, resolves from ‘test.ml’ state.
**kwargs : dict
Additional parameters passed to the Transition worker.
Inputs full schema can be obtained by ctx.workers.agents_transition.spec with main params:
inputs == None→pipeline data context
data != None→custom data for agents_transition assessment

Returns

AgentsTransitionWorker
The populated instance of AgentsTransitionWorker.
Populates attributes into the worker context:
model→ctx.workers.agents_transition
inputs→ctx.workers.agents_transition.spec
result→ctx.workers.agents_transition.result
state→ctx.workers.agents_transition.state
report→ctx.workers.agents_transition.report
stats→ctx.workers.agents_transition.stats
fitter→ctx.workers.agents_transition.fitter
Registers data into the datasets context:
stats→ctx.datasets.stats.agents.transition

Examples

Defining the Project Context (Control Plane) & Project Scope:

Worker → Model → Fitter

Accessing worker’s inputs schema → parameters & types (shown in the display output):
Accessing model’s fitter options and schema → parameters & types (shown in the display output):
Executing workers with defaults → auto provided by the context:
Once worker has been executed, thus its main model has been built, we have access to all populated attributes.
View to model report of executed worker:

Model → Fitter

Once worker has been executed, we can obtain internal fitter state and its parametrization (shown in the display output):
The fitted fitter provides all populated attributes.
Direct choice and parametrization of internal fitter:
In the experimenting phase, when various parametrization settings might be under testing (note that internal fitter API (fx_config) can vary with respect to chosen fitter):

Attributes

All worker attributes return None prior its execution.