Cloud AutoML V1beta1 Client - Class TextClassificationModelMetadata (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class TextClassificationModelMetadata.

Model metadata that is specific to text classification.

Generated from protobuf message google.cloud.automl.v1beta1.TextClassificationModelMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ classification_type int

Output only. Classification type of the dataset used to train this model.

getClassificationType

Output only. Classification type of the dataset used to train this model.

Returns
TypeDescription
int

setClassificationType

Output only. Classification type of the dataset used to train this model.

Parameter
NameDescription
var int
Returns
TypeDescription
$this