source: vendor/google/apiclient-services/src/Document/GoogleCloudDocumentaiV1EvaluationMetrics.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.4 KB
Line 
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 /**
23 * @var float
24 */
25 public $f1Score;
26 /**
27 * @var int
28 */
29 public $falseNegativesCount;
30 /**
31 * @var int
32 */
33 public $falsePositivesCount;
34 /**
35 * @var int
36 */
37 public $groundTruthDocumentCount;
38 /**
39 * @var int
40 */
41 public $groundTruthOccurrencesCount;
42 /**
43 * @var float
44 */
45 public $precision;
46 /**
47 * @var int
48 */
49 public $predictedDocumentCount;
50 /**
51 * @var int
52 */
53 public $predictedOccurrencesCount;
54 /**
55 * @var float
56 */
57 public $recall;
58 /**
59 * @var int
60 */
61 public $totalDocumentsCount;
62 /**
63 * @var int
64 */
65 public $truePositivesCount;
66
67 /**
68 * @param float
69 */
70 public function setF1Score($f1Score)
71 {
72 $this->f1Score = $f1Score;
73 }
74 /**
75 * @return float
76 */
77 public function getF1Score()
78 {
79 return $this->f1Score;
80 }
81 /**
82 * @param int
83 */
84 public function setFalseNegativesCount($falseNegativesCount)
85 {
86 $this->falseNegativesCount = $falseNegativesCount;
87 }
88 /**
89 * @return int
90 */
91 public function getFalseNegativesCount()
92 {
93 return $this->falseNegativesCount;
94 }
95 /**
96 * @param int
97 */
98 public function setFalsePositivesCount($falsePositivesCount)
99 {
100 $this->falsePositivesCount = $falsePositivesCount;
101 }
102 /**
103 * @return int
104 */
105 public function getFalsePositivesCount()
106 {
107 return $this->falsePositivesCount;
108 }
109 /**
110 * @param int
111 */
112 public function setGroundTruthDocumentCount($groundTruthDocumentCount)
113 {
114 $this->groundTruthDocumentCount = $groundTruthDocumentCount;
115 }
116 /**
117 * @return int
118 */
119 public function getGroundTruthDocumentCount()
120 {
121 return $this->groundTruthDocumentCount;
122 }
123 /**
124 * @param int
125 */
126 public function setGroundTruthOccurrencesCount($groundTruthOccurrencesCount)
127 {
128 $this->groundTruthOccurrencesCount = $groundTruthOccurrencesCount;
129 }
130 /**
131 * @return int
132 */
133 public function getGroundTruthOccurrencesCount()
134 {
135 return $this->groundTruthOccurrencesCount;
136 }
137 /**
138 * @param float
139 */
140 public function setPrecision($precision)
141 {
142 $this->precision = $precision;
143 }
144 /**
145 * @return float
146 */
147 public function getPrecision()
148 {
149 return $this->precision;
150 }
151 /**
152 * @param int
153 */
154 public function setPredictedDocumentCount($predictedDocumentCount)
155 {
156 $this->predictedDocumentCount = $predictedDocumentCount;
157 }
158 /**
159 * @return int
160 */
161 public function getPredictedDocumentCount()
162 {
163 return $this->predictedDocumentCount;
164 }
165 /**
166 * @param int
167 */
168 public function setPredictedOccurrencesCount($predictedOccurrencesCount)
169 {
170 $this->predictedOccurrencesCount = $predictedOccurrencesCount;
171 }
172 /**
173 * @return int
174 */
175 public function getPredictedOccurrencesCount()
176 {
177 return $this->predictedOccurrencesCount;
178 }
179 /**
180 * @param float
181 */
182 public function setRecall($recall)
183 {
184 $this->recall = $recall;
185 }
186 /**
187 * @return float
188 */
189 public function getRecall()
190 {
191 return $this->recall;
192 }
193 /**
194 * @param int
195 */
196 public function setTotalDocumentsCount($totalDocumentsCount)
197 {
198 $this->totalDocumentsCount = $totalDocumentsCount;
199 }
200 /**
201 * @return int
202 */
203 public function getTotalDocumentsCount()
204 {
205 return $this->totalDocumentsCount;
206 }
207 /**
208 * @param int
209 */
210 public function setTruePositivesCount($truePositivesCount)
211 {
212 $this->truePositivesCount = $truePositivesCount;
213 }
214 /**
215 * @return int
216 */
217 public function getTruePositivesCount()
218 {
219 return $this->truePositivesCount;
220 }
221}
222
223// Adding a class alias for backwards compatibility with the previous class name.
224class_alias(GoogleCloudDocumentaiV1EvaluationMetrics::class, 'Google_Service_Document_GoogleCloudDocumentaiV1EvaluationMetrics');
Note: See TracBrowser for help on using the repository browser.