piglot.bin.piglot_plot.pick_from_best

pick_from_best(values: ndarray, variable: ndarray) ndarray[source]

Return the associated variable value associated with the current best objective

Parameters

valuesnp.ndarray

Objective values

variablenp.ndarray

Variable to output

Returns

np.ndarray

Current best of the variable