TrainingJobProps
Properties for defining a TrainingJob
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-trainingjob
Initializer
import { TrainingJobProps } from '@alicloud/ros-cdk-paiplugin'
const trainingJobProps: TrainingJobProps = { ... }
Properties
Name | Type | Description |
---|---|---|
algorithm |
string | @alicloud/ros-cdk-core.IResolvable |
Property algorithm: The algorithm used in training. |
campaignId |
string | @alicloud/ros-cdk-core.IResolvable |
Property campaignId: The related campaign Id. |
dataPath |
string | @alicloud/ros-cdk-core.IResolvable |
Property dataPath: The training data path in OSS bucket. |
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The name of training job. |
userConfig |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property userConfig: User configuration is used to set parameters such as start_date and end_date to delineate the time range of modeling data. |
remark |
string | @alicloud/ros-cdk-core.IResolvable |
Property remark: The remark of training job. |
waitForTrainingFinish |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes. |
algorithm
Required
public readonly algorithm: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property algorithm: The algorithm used in training.
campaignId
Required
public readonly campaignId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property campaignId: The related campaign Id.
dataPath
Required
public readonly dataPath: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dataPath: The training data path in OSS bucket.
name
Required
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of training job.
userConfig
Required
public readonly userConfig: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property userConfig: User configuration is used to set parameters such as start_date and end_date to delineate the time range of modeling data.
remark
Optional
public readonly remark: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property remark: The remark of training job.
waitForTrainingFinish
Optional
public readonly waitForTrainingFinish: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes.