def AgentsTransitionWorker.transform(self, data, agents=tuple(AGENTS)) [source]
Re-evaluate the transition analysis on a new dataset.
Runs the full cross-agent transition analysis on any
data sample. Use this to:
- Monitor cross-agent stability on subsequent OOT windows.
- Analyze a subset of agents (e.g., the top 2 from the comparison).
- Generate a fresh transition report for a different segment or time period.
Parameters
data : pDF
The dataset for transition analysis (must contain
target + features).
target + features).
agents : tuple
Subset of agents to include (e.g.,
a single pair, or
(1, 2) fora single pair, or
(1, 3, 4) for multiple pairs).Returns
AgentsTransitionResult
Transition vectors for the requested agent pairs.
No State Change: This method does not modify the
fitted state. It produces a fresh analysis on the new
data. The original fit results remain accessible via
.result and .stats.