DatasetProps
Properties for defining a Dataset
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlpautoml-dataset
Initializer
import { DatasetProps } from '@alicloud/ros-cdk-nlpautoml'
const datasetProps: DatasetProps = { ... }
Properties
Name | Type | Description |
---|---|---|
datasetName |
string | @alicloud/ros-cdk-core.IResolvable |
Property datasetName: The name of dataset. |
projectId |
number | @alicloud/ros-cdk-core.IResolvable |
Property projectId: The ID of project. |
datasetRecord |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property datasetRecord: Upload labeled data to the dataset. |
datasetName
Required
public readonly datasetName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property datasetName: The name of dataset.
Cannot start with numbers and symbols, and the length cannot be greater than 32 characters.
projectId
Required
public readonly projectId: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property projectId: The ID of project.
To create a dataset under a certain project, fill in the target project ID.
datasetRecord
Optional
public readonly datasetRecord: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property datasetRecord: Upload labeled data to the dataset.