TrainingJobProps
Properties for defining a TrainingJob
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-trainingjob
Initializer
import com.aliyun.ros.cdk.paiplugin.TrainingJobProps;
TrainingJobProps.builder()
.algorithm(java.lang.String)
.algorithm(IResolvable)
.campaignId(java.lang.String)
.campaignId(IResolvable)
.dataPath(java.lang.String)
.dataPath(IResolvable)
.name(java.lang.String)
.name(IResolvable)
.userConfig(IResolvable)
.userConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .remark(java.lang.String)
// .remark(IResolvable)
// .waitForTrainingFinish(java.lang.Boolean)
// .waitForTrainingFinish(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
algorithm |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property algorithm: The algorithm used in training. |
campaignId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property campaignId: The related campaign Id. |
dataPath |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dataPath: The training data path in OSS bucket. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of training job. |
userConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
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 |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property remark: The remark of training job. |
waitForTrainingFinish |
java.lang.Boolean OR com.aliyun.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 java.lang.Object getAlgorithm();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property algorithm: The algorithm used in training.
campaignId
Required
public java.lang.Object getCampaignId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property campaignId: The related campaign Id.
dataPath
Required
public java.lang.Object getDataPath();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataPath: The training data path in OSS bucket.
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of training job.
userConfig
Required
public java.lang.Object getUserConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
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 java.lang.Object getRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remark: The remark of training job.
waitForTrainingFinish
Optional
public java.lang.Object getWaitForTrainingFinish();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes.