Skip to content

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.

algorithmRequired

algorithm: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property algorithm: The algorithm used in training.


campaign_idRequired

campaign_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property campaignId: The related campaign Id.


data_pathRequired

data_path: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dataPath: The training data path in OSS bucket.


nameRequired

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property name: The name of training job.


user_configRequired

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.


remarkOptional

remark: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property remark: The remark of training job.


wait_for_training_finishOptional

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.