December 2019
Intermediate to advanced
368 pages
11h 10m
English
This function accepts the ObjectiveFun object, which holds the population of the objective function candidates, and uses it to estimate the fitness score of each individual in the population by following these steps:
obj_func_genomes = NEAT.GetGenomeList(obj_function.population) for genome in obj_func_genomes: n_item = evaluate_individ_obj_function(genome=genome, generation=generation) n_items_list.append(n_item) obj_func_coeffs.append(n_item.data)
In the code, the novelty points obtained from the evaluate_individ_obj_function function are appended to the list of novelty points in the ...
Read now
Unlock full access