mosaicmpi.network.Network.get_lowest_rank_programs

mosaicmpi.network.Network.get_lowest_rank_programs#

Network.get_lowest_rank_programs(min_k: int | Dict[str, int] | None = None) Series#

Identify the programs that are the lowest rank for each dataset. A minimum rank to be considered may be supplied, either for all datasets as an integer, or as a dict with separate thresholds for each dataset.

Parameters:

min_k (int or dict, optional) – a minimum rank to consider for the minimal-rank programs, defaults to None

Returns:

Communities, indexed by the lowest rank program(s) for each dataset

Return type:

pd.Series