Constructor of the reference loss fitness strategy.
The configuration for the reference loss fitness strategy.
Protected
formatFormats the losses by normalizing the phenome matrix and applying weights to each row.
The generation phenome matrix to format.
A matrix of formatted losses.
Score a population.
The results of the phenome collection.
Protected
weighWeighs a row of phenome by multiplying each element with its corresponding weight.
The genome phenome row to weigh.
A genome phenome row with applied weights.
A fitness strategy that calculates the fitness of a genome based on a reference loss.
The fitness of a genome is calculated as the negative sum of the absolute differences between the reference loss and the loss calculated for the genome.