Utilities#
Multi-Objective#
- archai.discrete_search.utils.multi_objective.get_pareto_frontier(models: List[ArchaiModel], evaluation_results: Dict[str, ndarray], objectives: SearchObjectives) Dict[str, Any] [source]#
Get the pareto frontier of the given models and evaluation results.
- Parameters:
models – List of models.
evaluation_results – Dictionary of evaluation results.
objectives – Search objectives.
- Returns:
Dictionary with models, evaluation results and whether they are pareto optimal.
- archai.discrete_search.utils.multi_objective.get_non_dominated_sorting(models: List[ArchaiModel], evaluation_results: Dict[str, ndarray], objectives: SearchObjectives) List[Dict[str, Any]] [source]#
Get the non-dominated sorting frontier of the given models and evaluation results.
- Parameters:
models – List of models.
evaluation_results – Dictionary of evaluation results.
objectives – Search objectives.
- Returns:
Dictionary with models, evaluation results and whether they are pareto optimal.