View source: R/evaluate_results.R
evaluate_results | R Documentation |
Evaluate the performance of an algorithm in a basin-based manner. Internally the basins are determined with the efficient points and the gradients calculated by 'moPlot' for the rasterized decision space. See the paper for more details. In the following the number of dimensions in the decision space will be denoted as dec.nDim and the number of dimensions in the objective space will be denoted as obj.nDim.
evaluate_results( results, fn, ..., eval_fn = ecr::computeHV, grid_size = 300L, basins = 1:3, join_fronts = FALSE, keep_points = FALSE, efficient_sets = NULL, dec_space_labels = NULL, design = NULL )
results |
[ |
fn |
[ |
... |
[ |
eval_fn |
[ |
grid_size |
[ |
basins |
[ |
join_fronts |
[ |
keep_points |
[ |
efficient_sets |
[ |
dec_space_labels |
[ |
design |
[ |
[list
]
A design
list from 'moPLOT'. Additionally attached are
the efficient sets (efficientSets
), the labels for the decision space
(decSpaceLabels
) and a tibble (basin_separated_eval
)
with the basin separated results.
# NOT RUN { fn <- smoof::makeDTLZ1Function(2,2) # tibble with an examplary NSGAII run on DTLZ1 tb <- nsga2_dtlz1_run[, c('fun_calls', 'x1', 'x2', 'y1', 'y2')] evaluate_results(tb, fn, ref.point = smoof::getRefPoint(fn)) # }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.