Table of Contents

Enum OptimizationMode

Namespace
AiDotNet.Enums
Assembly
AiDotNet.dll

Specifies the mode of optimization for an optimizer.

public enum OptimizationMode

Fields

Both = 2

Optimize both feature selection and model parameters.

For Beginners: In this mode, the optimizer can both select which features to use AND adjust the model's internal parameters. This gives the optimizer the most flexibility but may take longer.

FeatureSelectionOnly = 0

Optimize only feature selection (which features to include in the model).

For Beginners: In this mode, the optimizer only decides which features (input variables) should be used in the model. It doesn't change the model's internal parameters.

ParametersOnly = 1

Optimize only model parameters (adjust existing model parameters).

For Beginners: In this mode, the optimizer only adjusts the model's internal parameters (like weights and biases). It doesn't change which features are used.

Remarks

OptimizationMode determines what aspects of a model the optimizer will modify during the optimization process. This can include feature selection (choosing which features to use), parameter adjustment (modifying model parameters), or both.

For Beginners: Think of this as choosing what the optimizer is allowed to change. It can select which features (input variables) to use, adjust the model's internal parameters, or do both. This gives you control over how the optimizer improves your model.