|
QDpy
|
Combine novelty, forecast deviation, and local fitness competition. More...
Protected Member Functions | |
| _remember (self, population, history) | |
Additional Inherited Members | |
| Public Member Functions inherited from qdpy.algorithms.surprise.SurpriseSearchLC | |
| run (self, evaluate, budget) | |
| Perform one-offspring updates and charge all evaluation attempts. | |
Combine novelty, forecast deviation, and local fitness competition.
Use the same forecasts and steady-state variation as SurpriseSearchLC.
With a real-valued novelty_weight, NSGA-II maximizes the weighted sum
of novelty and surprise beside local wins. With novelty_weight=None,
it treats all three signals as separate objectives. Novelty and local
wins consider both the live population and past novel offspring.
Distances are Euclidean in descriptor coordinates, as in SS-LC.
:param archive: Passive reporting grid, as in SurpriseSearchLC.
:param dimension: Number of decision coordinates.
:param novelty_weight: Novelty fraction of the aggregated divergence score.
Use None for three-objective NS-SS-LC.
:param novelty_neighbors: Number of neighbors for the novelty score.
:param novelty_threshold: Add measured offspring whose novelty meets this threshold.
:param novelty_history: Maximum number of older novel offspring retained in FIFO order.
:param kwargs: Search, forecast, and variation settings accepted by SurpriseSearchLC.
Definition at line 224 of file surprise.py.
|
protected |
The original surprise search uses only the active population.
Reimplemented from qdpy.algorithms.surprise.SurpriseSearchLC.
Definition at line 276 of file surprise.py.