QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.safe_illumination.SafeBayesianIllumination Class Reference

Illuminate a pool of measurable designs while separating safety and quality. More...

Public Member Functions

 trials (self)
 halted (self)
 certified_indices (self)
 List candidates currently supported by the safety rules.
 run (self, evaluate, *, budget)
 Spend up to the requested number of additional safe-pool trials.

Detailed Description

Illuminate a pool of measurable designs while separating safety and quality.

Use a StageOpt-inspired expansion phase and then per-niche improvement.

:param archive: Empty parentless best-only Grid or CVTGrid.
:param points: Finite matrix of distinct real candidate genomes.
:param descriptors: Known descriptor vector for each candidate. All
    must lie in the reporting archive's descriptor domain.
:param safe_seeds: Ordered distinct indices trusted safe to evaluate.
    Their evaluations count against the same budget as other trials.
:param constraints: Number of reported safety margins. Zero is safe.
:param expansion_budget: Maximum post-seed attempts in the expansion phase.
:param quality_floor: Raw objective baseline for an empty niche. The
    default uses the archive's worst allowed objective.
:param confidence: Safety confidence multiplier for the Gaussian processes.
:param length_scale: Fixed Matérn length scale in raw decision units.
:param noise: Positive GP diagonal regularization.
:param lipschitz: Scalar or per-constraint Lipschitz upper bounds in
    raw Euclidean units. When supplied, use the deterministic margin
    certificates for dispatch and the GPs for ranking.
:param observation_error: Absolute bound on measurement error for each
    safety margin in Lipschitz mode.

Definition at line 42 of file safe_illumination.py.

Member Function Documentation

◆ certified_indices()

qdpy.algorithms.safe_illumination.SafeBayesianIllumination.certified_indices ( self)

List candidates currently supported by the safety rules.

Return safe-set indices, including trusted seeds, or empty after a halt.

Definition at line 155 of file safe_illumination.py.

◆ halted()

qdpy.algorithms.safe_illumination.SafeBayesianIllumination.halted ( self)
Return whether an observed negative safety margin stopped the search.

Definition at line 122 of file safe_illumination.py.

◆ run()

qdpy.algorithms.safe_illumination.SafeBayesianIllumination.run ( self,
evaluate,
* ,
budget )

Spend up to the requested number of additional safe-pool trials.

Use evaluate(genome) for (scalar fitness, safety-margin vector) or None.

Each pool candidate is evaluated at most once. Stop when no new
point satisfies the safety gate or a violation is observed.
The GP gate depends on calibrated confidence bounds. A Lipschitz
gate depends on correct supplied constants and measurement error.

Definition at line 234 of file safe_illumination.py.

◆ trials()

qdpy.algorithms.safe_illumination.SafeBayesianIllumination.trials ( self)
Return attempts in dispatch order, including failed evaluations.

Definition at line 117 of file safe_illumination.py.


The documentation for this class was generated from the following file: