Google Cloud Datalabeling V1beta1 Client - Class ExampleComparison (0.5.7)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class ExampleComparison.

Example comparisons comparing ground truth output and predictions for a specific input.

Generated from protobuf message google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison

Namespace

Google \ Cloud \ DataLabeling \ V1beta1 \ SearchExampleComparisonsResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ground_truth_example Google\Cloud\DataLabeling\V1beta1\Example

The ground truth output for the input.

↳ model_created_examples array<Google\Cloud\DataLabeling\V1beta1\Example>

Predictions by the model for the input.

getGroundTruthExample

The ground truth output for the input.

Returns
Type Description
Google\Cloud\DataLabeling\V1beta1\Example|null

hasGroundTruthExample

clearGroundTruthExample

setGroundTruthExample

The ground truth output for the input.

Parameter
Name Description
var Google\Cloud\DataLabeling\V1beta1\Example
Returns
Type Description
$this

getModelCreatedExamples

Predictions by the model for the input.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setModelCreatedExamples

Predictions by the model for the input.

Parameter
Name Description
var array<Google\Cloud\DataLabeling\V1beta1\Example>
Returns
Type Description
$this