saealib.GenerationBasedStrategy#
- class saealib.GenerationBasedStrategy(gen_ctrl)[ソース]#
ベースクラス:
OptimizationStrategyGeneration-based strategy.
- パラメータ:
gen_ctrl (int) -- Number of surrogate-only generations executed inside each
step()call before one generation of true objective evaluation.
Methods
Lower the structured generation-based Pipeline to its graph. |
|
Describe the strategy as a structured Pipeline DSL. |
|
Return the strategy contract. |
|
Run |
Method Details
- GenerationBasedStrategy.build_graph(provider)[ソース]#
Lower the structured generation-based Pipeline to its graph.
- パラメータ:
provider (ComponentProvider)
- 戻り値の型:
- GenerationBasedStrategy.build_pipeline(provider)[ソース]#
Describe the strategy as a structured Pipeline DSL.
- パラメータ:
provider (ComponentProvider)
- 戻り値の型:
- GenerationBasedStrategy.contract()#
Return the strategy contract.
- 戻り値の型:
- GenerationBasedStrategy.step(ctx, provider)[ソース]#
Run
gen_ctrlsurrogate-only generations, then one true-evaluation step.Rebuilds the pipeline each call so component/parameter changes take effect immediately.
- パラメータ:
ctx (OptimizationState) -- Current optimization context.
provider (ComponentProvider) -- Component provider.
- 戻り値の型:
OptimizationState