Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retaining values not convertable to float64 (anyoptimization#381)
It might be useful to assign non float values to individuals, e.g. strings representing categories or identifiers. In our case, during the computational expensive evaluation of the population, we can obtain an string identifier with almost no additional costs, which would be in our case better suited for duplicate detection than a distance metric, as multiple individuals with different features might be of identical phenotype, and thus effectively reducing the variance in the population. In our local environment, this change did not introduce undesired behavior.
- Loading branch information