SearchConstraint
Models & Types · AiDotNet.AutoML
Defines a constraint for AutoML search to limit the search space or enforce requirements.
Implements: ICloneable
Constructors
| Constructor | Summary |
|---|---|
SearchConstraint() |
Properties
| Property | Summary |
|---|---|
ConstraintType Type { get; set; } |
Gets or sets the type of constraint. |
Dictionary<string, object> Metadata { get; set; } |
Gets or sets additional metadata for the constraint. |
List<string> ParameterNames { get; set; } |
Gets or sets the parameter names involved in this constraint. |
bool IsHardConstraint { get; set; } |
Gets or sets whether this constraint is a hard constraint (must be satisfied) or soft constraint (preferred). |
double? MaxValue { get; set; } |
Gets or sets the maximum value for range constraints. |
double? MinValue { get; set; } |
Gets or sets the minimum value for range constraints. |
string Expression { get; set; } |
Gets or sets the constraint expression or rule. |
string Name { get; set; } |
Gets or sets the name of the constraint. |
Methods
| Method | Summary |
|---|---|
object Clone() |
Creates a clone of this search constraint. |