Skip to content

DatasetProps

Properties for defining a Dataset.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlpautoml-dataset

Initializer

import ros_cdk_nlpautoml
ros_cdk_nlpautoml.DatasetProps(
  dataset_name: typing.Union[str, IResolvable],
  project_id: typing.Union[typing.Union[int, float], IResolvable],
  dataset_record: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)

Properties

Name Type Description
dataset_name typing.Union[str, ros_cdk_core.IResolvable] Property datasetName: The name of dataset.
project_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property projectId: The ID of project.
dataset_record typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property datasetRecord: Upload labeled data to the dataset.

dataset_nameRequired

dataset_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


project_idRequired

project_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property projectId: The ID of project.

To create a dataset under a certain project, fill in the target project ID.


dataset_recordOptional

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

Property datasetRecord: Upload labeled data to the dataset.