compute_pareto_front

site.SiteSolutionSet.compute_pareto_front(metrics, id_col='solution_rank')

Flag which solutions in df are Pareto-optimal across metrics.

A solution A dominates solution B if A is at least as good as B on every metric, and strictly better on at least one. Anything not dominated by another solution in the set is Pareto-optimal.

Returns a copy of df with two extra columns: - is_pareto_optimal (bool) - dominated_by (list of id_col values that dominate this solution; empty for Pareto-optimal solutions)

Back to top