edaflow.ml.display_leaderboard
- edaflow.ml.display_leaderboard(comparison_results: DataFrame = None, ranked_df: DataFrame = None, sort_by: str = None, ascending: bool = False, show_std: bool = False, top_n: int = 10, show_metrics: List[str] | None = None, highlight_best: bool = True, figsize: Tuple[int, int] = (12, 8)) None[source]
Display a visual leaderboard of model performance.
Parameters:
- comparison_resultspd.DataFrame, optional
Raw comparison results from compare_models()
- ranked_dfpd.DataFrame, optional
Pre-ranked results (alternative to comparison_results)
- sort_bystr, optional
Metric to sort by. If None, uses first numeric column
- ascendingbool, default=False
Whether to sort in ascending order
- show_stdbool, default=False
Whether to show standard deviation columns
- top_nint, default=10
Number of top models to display
- show_metricsList[str], optional
Specific metrics to show. If None, shows all numeric metrics
- highlight_bestbool, default=True
Whether to highlight the best performing model
- figsizeTuple[int, int], default=(12, 8)
Figure size for the visualization