ash_model.measures.hyperedge_most_frequent_node_attribute_value¶
- ash_model.measures.hyperedge_most_frequent_node_attribute_value(h, hyperedge_id, attr_name, tid=None)[source]¶
Returns the most frequent value of a node attribute in a hyperedge. If tid is specified, it returns the value at that time point. If tid is None, it returns the most frequent value across all time points.
- Parameters:
- Returns:
A dictionary with the most frequent value of the attribute in the hyperedge nodes
- Return type: