CMAESOptimizerOptions<T, TInput, TOutput>
Options & Configuration · AiDotNet.Models.Options
Configuration options for the CMA-ES (Covariance Matrix Adaptation Evolution Strategy) optimization algorithm.
Inheritance: ModelOptions → OptimizationAlgorithmOptions<T, TInput, TOutput> → GeneticAlgorithmOptimizerOptions<T, TInput, TOutput> → CMAESOptimizerOptions<T, TInput, TOutput>
For Beginners
CMA-ES is like a smart search algorithm that tries to find the best solution to a complex problem. Imagine you’re looking for the lowest point in a mountain range with fog everywhere - you can only see what’s right around you. CMA-ES works by sending out multiple “scouts” (solutions) in different directions, then learning from their findings to decide where to search next. It’s particularly good at handling tricky landscapes where simple “always go downhill” approaches would get stuck. This class lets you configure how that search process works.
How It Works
CMA-ES is a powerful evolutionary algorithm for difficult non-linear, non-convex optimization problems. It adapts its search strategy during optimization by learning dependencies between variables and step sizes, making it effective for complex problems where other methods might fail.
Constructors
| Constructor | Summary |
|---|---|
CMAESOptimizerOptions() |
Initializes a new instance with the CMAES optimizer defaults. |
CMAESOptimizerOptions(CMAESOptimizerOptions<T, TInput, TOutput> other) |
Initializes a new instance as a copy of other, with every setting copied. |
Properties
| Property | Summary |
|---|---|
double InitialStepSize { get; set; } |
Gets or sets the initial step size that controls how far the algorithm explores from the starting point. |
double StopTolerance { get; set; } |
Gets or sets the convergence threshold that determines when the algorithm should stop. |