Reference documentation and code samples for the Cloud AutoML V1 Client class TextClassificationDatasetMetadata.
Dataset metadata for classification.
Generated from protobuf message google.cloud.automl.v1.TextClassificationDatasetMetadata
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ classification_type |
int
Required. Type of the classification problem. |
getClassificationType
Required. Type of the classification problem.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ClassificationType. |
setClassificationType
Required. Type of the classification problem.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ClassificationType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|