# AlgorithmHyperParameterRangesProperty

Specifies the hyperparameters and their ranges.

Hyperparameters can be categorical, continuous, or integer-valued.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as personalize } from 'aws-cdk-lib';
const algorithmHyperParameterRangesProperty: personalize.CfnSolution.AlgorithmHyperParameterRangesProperty = {
  categoricalHyperParameterRanges: [{
    name: 'name',
    values: ['values'],
  }],
  continuousHyperParameterRanges: [{
    maxValue: 123,
    minValue: 123,
    name: 'name',
  }],
  integerHyperParameterRanges: [{
    maxValue: 123,
    minValue: 123,
    name: 'name',
  }],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_personalize as personalize

algorithm_hyper_parameter_ranges_property = personalize.CfnSolution.AlgorithmHyperParameterRangesProperty(
    categorical_hyper_parameter_ranges=[personalize.CfnSolution.CategoricalHyperParameterRangeProperty(
        name="name",
        values=["values"]
    )],
    continuous_hyper_parameter_ranges=[personalize.CfnSolution.ContinuousHyperParameterRangeProperty(
        max_value=123,
        min_value=123,
        name="name"
    )],
    integer_hyper_parameter_ranges=[personalize.CfnSolution.IntegerHyperParameterRangeProperty(
        max_value=123,
        min_value=123,
        name="name"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.personalize.*;

AlgorithmHyperParameterRangesProperty algorithmHyperParameterRangesProperty = AlgorithmHyperParameterRangesProperty.builder()
        .categoricalHyperParameterRanges(List.of(CategoricalHyperParameterRangeProperty.builder()
                .name("name")
                .values(List.of("values"))
                .build()))
        .continuousHyperParameterRanges(List.of(ContinuousHyperParameterRangeProperty.builder()
                .maxValue(123)
                .minValue(123)
                .name("name")
                .build()))
        .integerHyperParameterRanges(List.of(IntegerHyperParameterRangeProperty.builder()
                .maxValue(123)
                .minValue(123)
                .name("name")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 algorithmHyperParameterRangesProperty = 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"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

algorithmHyperParameterRangesProperty := &AlgorithmHyperParameterRangesProperty{
	CategoricalHyperParameterRanges: []interface{}{
		&CategoricalHyperParameterRangeProperty{
			Name: jsii.String("name"),
			Values: []*string{
				jsii.String("values"),
			},
		},
	},
	ContinuousHyperParameterRanges: []interface{}{
		&ContinuousHyperParameterRangeProperty{
			MaxValue: jsii.Number(123),
			MinValue: jsii.Number(123),
			Name: jsii.String("name"),
		},
	},
	IntegerHyperParameterRanges: []interface{}{
		&IntegerHyperParameterRangeProperty{
			MaxValue: jsii.Number(123),
			MinValue: jsii.Number(123),
			Name: jsii.String("name"),
		},
	},
}
```

## Properties

- `categoricalHyperParameterRanges`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSolution.CategoricalHyperParameterRangeProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_personalize.CfnSolution.CategoricalHyperParameterRangeProperty.html)[] — Provides the name and range of a categorical hyperparameter.

- `continuousHyperParameterRanges`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSolution.ContinuousHyperParameterRangeProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_personalize.CfnSolution.ContinuousHyperParameterRangeProperty.html)[] — Provides the name and range of a continuous hyperparameter.

- `integerHyperParameterRanges`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSolution.IntegerHyperParameterRangeProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_personalize.CfnSolution.IntegerHyperParameterRangeProperty.html)[] — Provides the name and range of an integer-valued hyperparameter.
