structify_net.scoring.compare_graphs
- structify_net.scoring.compare_graphs(df_reference, df_graphs, best_by_name=False, score_difference=False)
Compares a list of graphs to a reference graph
Returns a dataframe with the scores of the graphs and the difference to the reference graph
- Args:
df_reference (_type_): The scores of the reference graph as a dataframe df_graphs (_type_): The scores of the graphs to compare as a dataframe best_by_name (bool, optional): Returns the best graph for each name. Defaults to False. score_difference (bool, optional): Returns the difference to the reference graph instead of the scores. Defaults to False.
- Returns:
_type_: A dataframe with the scores of the graphs and the difference to the reference graph