GoogleCloudMlV1__ParameterSpec
import type { GoogleCloudMlV1__ParameterSpec } from "https://googleapis.deno.dev/v1/ml:v1.ts";
Represents a single hyperparameter to optimize.
interface GoogleCloudMlV1__ParameterSpec {
categoricalValues?: string[];
discreteValues?: number[];
maxValue?: number;
minValue?: number;
parameterName?: string;
scaleType?:
| "NONE"
| "UNIT_LINEAR_SCALE"
| "UNIT_LOG_SCALE"
| "UNIT_REVERSE_LOG_SCALE";
type?:
} | "PARAMETER_TYPE_UNSPECIFIED"
| "DOUBLE"
| "INTEGER"
| "CATEGORICAL"
| "DISCRETE";
§Properties
§
discreteValues?: number[]
[src]Required if type is DISCRETE
. A list of feasible points. The list should
be in strictly increasing order. For instance, this parameter might have
possible settings of 1.5, 2.5, and 4.0. This list should not contain more
than 1,000 values.
§
maxValue?: number
[src]Required if type is DOUBLE
or INTEGER
. This field should be unset if
type is CATEGORICAL
. This value should be integers if type is INTEGER
.
§
minValue?: number
[src]Required if type is DOUBLE
or INTEGER
. This field should be unset if
type is CATEGORICAL
. This value should be integers if type is INTEGER.
§
parameterName?: string
[src]Required. The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".