mosaicmpi.network.Network.get_representative_program_ids

mosaicmpi.network.Network.get_representative_program_ids#

Network.get_representative_program_ids(correlation_axis: Literal['programs', 'usage'] = 'programs') Series#

Select programs based on correlation with the median of all programs in each community

Parameters:

correlation_axis (int or dict) – axis on which to compute correlations between programs whether correlating the programs or the usages, defaults to “programs”

Returns:

Communities, indexed by the most central program for each dataset

Return type:

pd.Series