lifecycles.algorithms.analyze_all_flows

analyze_all_flows(lc: LifeCycle, direction: str, min_branch_size: int = 1, attr=None) dict

Analyze the flow of all sets in a LifeCycle object w.r.t. a given temporal direction. See analyze_flow for more details :param lc: a LifeCycle object :param direction: the temporal direction in which the sets are to be analyzed :param min_branch_size: the minimum number of elements that a branch must contain to be considered :param attr: the name or list of names of the attribute(s) to analyze. If None, no attribute is analyzed :return:

Example:

>>> import lifecycles as lcs
>>> # ... create a lc object here ...
>>> analyzed_flows = lcs.analyze_all_flows(lc, "+")
>>> analyzed_flows.keys()