Cloud AutoML V1 Client - Class TextClassificationModelMetadata (2.0.0)

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

Model metadata that is specific to text classification.

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

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setClassificationType

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

Parameter
Name Description
var int
Returns
Type Description
$this