Cloud AutoML V1 Client - Class TextClassificationDatasetMetadata (1.4.17)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setClassificationType

Required. Type of the classification problem.

Parameter
NameDescription
var int
Returns
TypeDescription
$this