Skip to content

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.

algorithmRequired

public readonly algorithm: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property algorithm: The algorithm used in training.


campaignIdRequired

public readonly campaignId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property campaignId: The related campaign Id.


dataPathRequired

public readonly dataPath: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dataPath: The training data path in OSS bucket.


nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name of training job.


userConfigRequired

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.


remarkOptional

public readonly remark: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property remark: The remark of training job.


waitForTrainingFinishOptional

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.