|
QDpy
|
Use predicted feasible behavior and a separate infeasible objective. More...
Public Member Functions | |
| __init__ (self, archive, *, initializer, mutate, forecast_interval=None, feasibility_score=None, clip_forecast=True, **kwargs) | |
| prediction (self) | |
| Latest forecast, or None until a feasible snapshot is available. | |
| stats (self) | |
| Cumulative evaluation, migration, and forecast counts. | |
| Public Member Functions inherited from qdpy.algorithms.constrained_novelty.FeasibleInfeasibleNoveltySearch | |
| feasible_population (self) | |
| infeasible_population (self) | |
| FeasibleNoveltyStats | run (self, evaluate, budget) |
| Spend an additional hard evaluator budget. | |
Use predicted feasible behavior and a separate infeasible objective.
A steady-state adaptation of Constrained Surprise Search. Freeze a forecast between fixed-size blocks. Use Euclidean deviation from the forecast to select feasible breeders. Before the first forecast, use the inherited feasible novelty score. Positive residuals indicate violations. The reporting archive stores measured feasible quality.
Definition at line 33 of file constrained_surprise.py.
| qdpy.algorithms.constrained_surprise.ConstrainedSurpriseSearch.__init__ | ( | self, | |
| archive, | |||
| * | , | ||
| initializer, | |||
| mutate, | |||
| forecast_interval = None, | |||
| feasibility_score = None, | |||
| clip_forecast = True, | |||
| ** | kwargs ) |
| archive | Empty scalar Grid or CVTGrid for reporting feasible solutions. |
| initializer | Callable (rng) returning an immutable genome sequence. |
| mutate | Callable (genome, rng) returning a new genome sequence. |
| forecast_interval | Number of attempted evaluations between snapshots. |
| feasibility_score | Optional callable (residuals) returning a finite higher-is-better score. |
| clip_forecast | Clip componentwise to the reporting descriptor bounds. |
| kwargs | Population, initialization, warm-up novelty, and seed settings for FINS. |
Definition at line 49 of file constrained_surprise.py.