lifecycles.algorithms.stability

stability(lc: object, direction: str) float

compute the temporal partition stability. The stability is the average of the continue events scores.

Parameters:
  • lc – the lifecycle object

  • direction – the temporal direction

Returns:

the stability score