Skip to main content
def AgentsTransitionWorker.fit(self, inputs, fx_choice=REG.AIG, **params) [source]
Execute the full cross-agent transition analysis. Predicts with all agents, computes pairwise cross- tabulations, tests significance, and assembles the complete transition stats.

Parameters

inputs : AgentsTransitionInput
Container for evaluation data and execution configuration.
fx_choice : str
The transition strategy identifier. Defaults to REG.AIG.
**params : dict
Runtime parameter overrides, passed to the internal fitter
(select_alpha, select_bins).

Returns

AgentsTransition
The fitted model instance containing calculated transition vectors.
Agent Pairs: By default, all registered agents are included. Use transform(data, agents=(1, 3)) to restrict to specific pairs.