評価#
Evaluatorとグラフネイティブ契約#
graph-native経路は GenomeBatch → EvaluationAdapter → EvaluationPayload → Evaluator → ObservationBatch です。
Base class for batch evaluators. |
|
Default evaluator: evaluates each candidate sequentially. |
|
Parallel evaluator backed by joblib. |
|
:py:class:`~saealib.execution.evaluator.AsyncEvaluator`の別名です。 |
|
Thread-backed asynchronous evaluator. |
|
Transform genomes into the payload consumed by a problem evaluation. |
|
Input payload whose snapshot semantics depend on how it was built. |
|
Runtime reference to submitted evaluation work. |
|
Request context supplied to an |
|
One delivered evaluation update. |
|
Serializable record for submitted work. |
評価ポリシーと計画#
Public contract for planners that may produce multiple requests. |
|
Composable evaluation work returned by a planner. |
|
Evaluate every candidate. |
|
Evaluate the stable top-k acquisition scores. |
|
Evaluate the stable prefix selected by a ratio. |
|
Request candidates with an explicit replicate number. |
|
Attach an explicit fidelity level to an evaluation request. |
|
Represent an explicit promotion from one fidelity level to another. |
|
Aggregated observations for one candidate batch. |
|
Aggregate repeated objective observations by stable candidate ID. |
Stage互換型#
Stage互換経路では Evaluator.evaluate_batch(...) -> EvaluationResult を使います。EvaluationResult の f、g、cv のshape・行数整合性、および candidate_ids を指定した場合の結果行数との一致と一意性が、この互換境界の制約です。Evaluator.submit で candidate_ids を返す場合は、requestのcandidate IDsと完全一致する必要があります。
Validated numeric result for a batch of candidates. |