Class CfnSolution.HpoConfigProperty
Describes the properties for hyperparameter optimization (HPO).
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Personalize
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSolution.HpoConfigProperty : CfnSolution.IHpoConfigProperty
Syntax (vb)
Public Class CfnSolution.HpoConfigProperty Implements CfnSolution.IHpoConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Personalize;
var hpoConfigProperty = new HpoConfigProperty {
AlgorithmHyperParameterRanges = new AlgorithmHyperParameterRangesProperty {
CategoricalHyperParameterRanges = new [] { new CategoricalHyperParameterRangeProperty {
Name = "name",
Values = new [] { "values" }
} },
ContinuousHyperParameterRanges = new [] { new ContinuousHyperParameterRangeProperty {
MaxValue = 123,
MinValue = 123,
Name = "name"
} },
IntegerHyperParameterRanges = new [] { new IntegerHyperParameterRangeProperty {
MaxValue = 123,
MinValue = 123,
Name = "name"
} }
},
HpoObjective = new HpoObjectiveProperty {
MetricName = "metricName",
MetricRegex = "metricRegex",
Type = "type"
},
HpoResourceConfig = new HpoResourceConfigProperty {
MaxNumberOfTrainingJobs = "maxNumberOfTrainingJobs",
MaxParallelTrainingJobs = "maxParallelTrainingJobs"
}
};
Synopsis
Constructors
| HpoConfigProperty() | Describes the properties for hyperparameter optimization (HPO). |
Properties
| AlgorithmHyperParameterRanges | The hyperparameters and their allowable ranges. |
| HpoObjective | The metric to optimize during HPO. |
| HpoResourceConfig | Describes the resource configuration for HPO. |
Constructors
HpoConfigProperty()
Describes the properties for hyperparameter optimization (HPO).
public HpoConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Personalize;
var hpoConfigProperty = new HpoConfigProperty {
AlgorithmHyperParameterRanges = new AlgorithmHyperParameterRangesProperty {
CategoricalHyperParameterRanges = new [] { new CategoricalHyperParameterRangeProperty {
Name = "name",
Values = new [] { "values" }
} },
ContinuousHyperParameterRanges = new [] { new ContinuousHyperParameterRangeProperty {
MaxValue = 123,
MinValue = 123,
Name = "name"
} },
IntegerHyperParameterRanges = new [] { new IntegerHyperParameterRangeProperty {
MaxValue = 123,
MinValue = 123,
Name = "name"
} }
},
HpoObjective = new HpoObjectiveProperty {
MetricName = "metricName",
MetricRegex = "metricRegex",
Type = "type"
},
HpoResourceConfig = new HpoResourceConfigProperty {
MaxNumberOfTrainingJobs = "maxNumberOfTrainingJobs",
MaxParallelTrainingJobs = "maxParallelTrainingJobs"
}
};
Properties
AlgorithmHyperParameterRanges
The hyperparameters and their allowable ranges.
public object? AlgorithmHyperParameterRanges { get; set; }
Property Value
Remarks
HpoObjective
The metric to optimize during HPO.
public object? HpoObjective { get; set; }
Property Value
Remarks
Amazon Personalize doesn't support configuring the <code>hpoObjective</code> at this time.
Type union: either IResolvable or CfnSolution.IHpoObjectiveProperty
HpoResourceConfig
Describes the resource configuration for HPO.
public object? HpoResourceConfig { get; set; }