1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Document;
19
20class GoogleCloudDocumentaiV1EvaluationMetrics extends \Google\Model
21{
22  public $f1Score;
23  public $falseNegativesCount;
24  public $falsePositivesCount;
25  public $groundTruthOccurrencesCount;
26  public $precision;
27  public $predictedOccurrencesCount;
28  public $recall;
29  public $totalDocumentsCount;
30  public $truePositivesCount;
31
32  public function setF1Score($f1Score)
33  {
34    $this->f1Score = $f1Score;
35  }
36  public function getF1Score()
37  {
38    return $this->f1Score;
39  }
40  public function setFalseNegativesCount($falseNegativesCount)
41  {
42    $this->falseNegativesCount = $falseNegativesCount;
43  }
44  public function getFalseNegativesCount()
45  {
46    return $this->falseNegativesCount;
47  }
48  public function setFalsePositivesCount($falsePositivesCount)
49  {
50    $this->falsePositivesCount = $falsePositivesCount;
51  }
52  public function getFalsePositivesCount()
53  {
54    return $this->falsePositivesCount;
55  }
56  public function setGroundTruthOccurrencesCount($groundTruthOccurrencesCount)
57  {
58    $this->groundTruthOccurrencesCount = $groundTruthOccurrencesCount;
59  }
60  public function getGroundTruthOccurrencesCount()
61  {
62    return $this->groundTruthOccurrencesCount;
63  }
64  public function setPrecision($precision)
65  {
66    $this->precision = $precision;
67  }
68  public function getPrecision()
69  {
70    return $this->precision;
71  }
72  public function setPredictedOccurrencesCount($predictedOccurrencesCount)
73  {
74    $this->predictedOccurrencesCount = $predictedOccurrencesCount;
75  }
76  public function getPredictedOccurrencesCount()
77  {
78    return $this->predictedOccurrencesCount;
79  }
80  public function setRecall($recall)
81  {
82    $this->recall = $recall;
83  }
84  public function getRecall()
85  {
86    return $this->recall;
87  }
88  public function setTotalDocumentsCount($totalDocumentsCount)
89  {
90    $this->totalDocumentsCount = $totalDocumentsCount;
91  }
92  public function getTotalDocumentsCount()
93  {
94    return $this->totalDocumentsCount;
95  }
96  public function setTruePositivesCount($truePositivesCount)
97  {
98    $this->truePositivesCount = $truePositivesCount;
99  }
100  public function getTruePositivesCount()
101  {
102    return $this->truePositivesCount;
103  }
104}
105
106// Adding a class alias for backwards compatibility with the previous class name.
107class_alias(GoogleCloudDocumentaiV1EvaluationMetrics::class, 'Google_Service_Document_GoogleCloudDocumentaiV1EvaluationMetrics');
108