- Resource: Dataset
- TranslationDatasetMetadata
- ImageClassificationDatasetMetadata
- ClassificationType
- TextClassificationDatasetMetadata
- Methods
Resource: Dataset
A workspace for solving a single, particular machine learning (ML) problem. A workspace contains examples that may be annotated.
JSON representation | |
---|---|
{ "name" : string , "displayName" : string , "exampleCount" : number , "createTime" : string , // Union field |
name
string
Output only. The resource name of the dataset. Form: projects/{project_id}/locations/{locationId}/datasets/{datasetId}
displayName
string
Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
exampleCount
number
Output only. The number of examples in the dataset.
createTime
string (
Timestamp
format)
Output only. Timestamp when this dataset was created.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z"
.
TranslationDatasetMetadata
Dataset metadata that is specific to translation.
JSON representation | |
---|---|
{ "sourceLanguageCode" : string , "targetLanguageCode" : string } |
Fields | |
---|---|
sourceLanguageCode
|
Required. The BCP-47 language code of the source language. |
targetLanguageCode
|
Required. The BCP-47 language code of the target language. |
ImageClassificationDatasetMetadata
Dataset metadata that is specific to image classification.
JSON representation | |
---|---|
{
"classificationType" :
enum(
|
Fields | |
---|---|
classificationType
|
Required. Type of the classification problem. |
ClassificationType
Type of the classification problem.
Enums | |
---|---|
CLASSIFICATION_TYPE_UNSPECIFIED
|
Should not be used, an un-set enum has this value by default. |
MULTICLASS
|
At most one label is allowed per example. |
MULTILABEL
|
Multiple labels are allowed for one example. |
TextClassificationDatasetMetadata
Dataset metadata for classification.
JSON representation | |
---|---|
{
"classificationType" :
enum(
|
Fields | |
---|---|
classificationType
|
Required. Type of the classification problem. |
Methods |
|
---|---|
|
Creates a dataset. |
|
Deletes a dataset and all of its contents. |
|
Gets a dataset. |
|
Gets the access control policy for a resource. |
|
Imports data into a dataset. |
|
Lists datasets in a project. |
|
Sets the access control policy on the specified resource. |