11.3.6. rheia.POST_PROCESS.post_process.PostProcessOpt.get_fitness_population
- PostProcessOpt.get_fitness_population(result_dir, gen=0)
Returns the population and corresponding fitness values for the generation of interest.
- Parameters
result_dir (str) – The directory were the results are stored.
gen (int, optional) – The generation of interest. The default is 0, i.e. the final generation.
- Returns
y_gen (ndarray) – The fitness values.
x_gen (ndarray) – The set of design samples.