source: vendor/google/apiclient-services/src/CloudNaturalLanguage/XPSConfidenceMetricsEntry.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 5.0 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\CloudNaturalLanguage;
19
20class XPSConfidenceMetricsEntry extends \Google\Model
21{
22 /**
23 * @var float
24 */
25 public $confidenceThreshold;
26 /**
27 * @var float
28 */
29 public $f1Score;
30 /**
31 * @var float
32 */
33 public $f1ScoreAt1;
34 /**
35 * @var string
36 */
37 public $falseNegativeCount;
38 /**
39 * @var string
40 */
41 public $falsePositiveCount;
42 /**
43 * @var float
44 */
45 public $falsePositiveRate;
46 /**
47 * @var float
48 */
49 public $falsePositiveRateAt1;
50 /**
51 * @var int
52 */
53 public $positionThreshold;
54 /**
55 * @var float
56 */
57 public $precision;
58 /**
59 * @var float
60 */
61 public $precisionAt1;
62 /**
63 * @var float
64 */
65 public $recall;
66 /**
67 * @var float
68 */
69 public $recallAt1;
70 /**
71 * @var string
72 */
73 public $trueNegativeCount;
74 /**
75 * @var string
76 */
77 public $truePositiveCount;
78
79 /**
80 * @param float
81 */
82 public function setConfidenceThreshold($confidenceThreshold)
83 {
84 $this->confidenceThreshold = $confidenceThreshold;
85 }
86 /**
87 * @return float
88 */
89 public function getConfidenceThreshold()
90 {
91 return $this->confidenceThreshold;
92 }
93 /**
94 * @param float
95 */
96 public function setF1Score($f1Score)
97 {
98 $this->f1Score = $f1Score;
99 }
100 /**
101 * @return float
102 */
103 public function getF1Score()
104 {
105 return $this->f1Score;
106 }
107 /**
108 * @param float
109 */
110 public function setF1ScoreAt1($f1ScoreAt1)
111 {
112 $this->f1ScoreAt1 = $f1ScoreAt1;
113 }
114 /**
115 * @return float
116 */
117 public function getF1ScoreAt1()
118 {
119 return $this->f1ScoreAt1;
120 }
121 /**
122 * @param string
123 */
124 public function setFalseNegativeCount($falseNegativeCount)
125 {
126 $this->falseNegativeCount = $falseNegativeCount;
127 }
128 /**
129 * @return string
130 */
131 public function getFalseNegativeCount()
132 {
133 return $this->falseNegativeCount;
134 }
135 /**
136 * @param string
137 */
138 public function setFalsePositiveCount($falsePositiveCount)
139 {
140 $this->falsePositiveCount = $falsePositiveCount;
141 }
142 /**
143 * @return string
144 */
145 public function getFalsePositiveCount()
146 {
147 return $this->falsePositiveCount;
148 }
149 /**
150 * @param float
151 */
152 public function setFalsePositiveRate($falsePositiveRate)
153 {
154 $this->falsePositiveRate = $falsePositiveRate;
155 }
156 /**
157 * @return float
158 */
159 public function getFalsePositiveRate()
160 {
161 return $this->falsePositiveRate;
162 }
163 /**
164 * @param float
165 */
166 public function setFalsePositiveRateAt1($falsePositiveRateAt1)
167 {
168 $this->falsePositiveRateAt1 = $falsePositiveRateAt1;
169 }
170 /**
171 * @return float
172 */
173 public function getFalsePositiveRateAt1()
174 {
175 return $this->falsePositiveRateAt1;
176 }
177 /**
178 * @param int
179 */
180 public function setPositionThreshold($positionThreshold)
181 {
182 $this->positionThreshold = $positionThreshold;
183 }
184 /**
185 * @return int
186 */
187 public function getPositionThreshold()
188 {
189 return $this->positionThreshold;
190 }
191 /**
192 * @param float
193 */
194 public function setPrecision($precision)
195 {
196 $this->precision = $precision;
197 }
198 /**
199 * @return float
200 */
201 public function getPrecision()
202 {
203 return $this->precision;
204 }
205 /**
206 * @param float
207 */
208 public function setPrecisionAt1($precisionAt1)
209 {
210 $this->precisionAt1 = $precisionAt1;
211 }
212 /**
213 * @return float
214 */
215 public function getPrecisionAt1()
216 {
217 return $this->precisionAt1;
218 }
219 /**
220 * @param float
221 */
222 public function setRecall($recall)
223 {
224 $this->recall = $recall;
225 }
226 /**
227 * @return float
228 */
229 public function getRecall()
230 {
231 return $this->recall;
232 }
233 /**
234 * @param float
235 */
236 public function setRecallAt1($recallAt1)
237 {
238 $this->recallAt1 = $recallAt1;
239 }
240 /**
241 * @return float
242 */
243 public function getRecallAt1()
244 {
245 return $this->recallAt1;
246 }
247 /**
248 * @param string
249 */
250 public function setTrueNegativeCount($trueNegativeCount)
251 {
252 $this->trueNegativeCount = $trueNegativeCount;
253 }
254 /**
255 * @return string
256 */
257 public function getTrueNegativeCount()
258 {
259 return $this->trueNegativeCount;
260 }
261 /**
262 * @param string
263 */
264 public function setTruePositiveCount($truePositiveCount)
265 {
266 $this->truePositiveCount = $truePositiveCount;
267 }
268 /**
269 * @return string
270 */
271 public function getTruePositiveCount()
272 {
273 return $this->truePositiveCount;
274 }
275}
276
277// Adding a class alias for backwards compatibility with the previous class name.
278class_alias(XPSConfidenceMetricsEntry::class, 'Google_Service_CloudNaturalLanguage_XPSConfidenceMetricsEntry');
Note: See TracBrowser for help on using the repository browser.