TrainingJobProps
Properties for defining a TrainingJob
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-trainingjob
Initializer
import ros_cdk_paiplugin
ros_cdk_paiplugin.TrainingJobProps(
algorithm: typing.Union[str, IResolvable],
campaign_id: typing.Union[str, IResolvable],
data_path: typing.Union[str, IResolvable],
name: typing.Union[str, IResolvable],
user_config: typing.Union[IResolvable, typing.Mapping[typing.Any]],
remark: typing.Union[str, IResolvable] = None,
wait_for_training_finish: typing.Union[bool, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
algorithm |
typing.Union[str, ros_cdk_core.IResolvable] |
Property algorithm: The algorithm used in training. |
campaign_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property campaignId: The related campaign Id. |
data_path |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dataPath: The training data path in OSS bucket. |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The name of training job. |
user_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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 |
typing.Union[str, ros_cdk_core.IResolvable] |
Property remark: The remark of training job. |
wait_for_training_finish |
typing.Union[bool, 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
algorithm: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property algorithm: The algorithm used in training.
campaign_id
Required
campaign_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property campaignId: The related campaign Id.
data_path
Required
data_path: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dataPath: The training data path in OSS bucket.
name
Required
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name of training job.
user_config
Required
user_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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
remark: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property remark: The remark of training job.
wait_for_training_finish
Optional
wait_for_training_finish: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes.