source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics.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: 6.3 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\Aiplatform;
19
20class GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics extends \Google\Model
21{
22 /**
23 * @var float
24 */
25 public $confidenceThreshold;
26 protected $confusionMatrixType = GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix::class;
27 protected $confusionMatrixDataType = '';
28 /**
29 * @var float
30 */
31 public $f1Score;
32 /**
33 * @var float
34 */
35 public $f1ScoreAt1;
36 /**
37 * @var float
38 */
39 public $f1ScoreMacro;
40 /**
41 * @var float
42 */
43 public $f1ScoreMicro;
44 /**
45 * @var string
46 */
47 public $falseNegativeCount;
48 /**
49 * @var string
50 */
51 public $falsePositiveCount;
52 /**
53 * @var float
54 */
55 public $falsePositiveRate;
56 /**
57 * @var float
58 */
59 public $falsePositiveRateAt1;
60 /**
61 * @var int
62 */
63 public $maxPredictions;
64 /**
65 * @var float
66 */
67 public $precision;
68 /**
69 * @var float
70 */
71 public $precisionAt1;
72 /**
73 * @var float
74 */
75 public $recall;
76 /**
77 * @var float
78 */
79 public $recallAt1;
80 /**
81 * @var string
82 */
83 public $trueNegativeCount;
84 /**
85 * @var string
86 */
87 public $truePositiveCount;
88
89 /**
90 * @param float
91 */
92 public function setConfidenceThreshold($confidenceThreshold)
93 {
94 $this->confidenceThreshold = $confidenceThreshold;
95 }
96 /**
97 * @return float
98 */
99 public function getConfidenceThreshold()
100 {
101 return $this->confidenceThreshold;
102 }
103 /**
104 * @param GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix
105 */
106 public function setConfusionMatrix(GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix $confusionMatrix)
107 {
108 $this->confusionMatrix = $confusionMatrix;
109 }
110 /**
111 * @return GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix
112 */
113 public function getConfusionMatrix()
114 {
115 return $this->confusionMatrix;
116 }
117 /**
118 * @param float
119 */
120 public function setF1Score($f1Score)
121 {
122 $this->f1Score = $f1Score;
123 }
124 /**
125 * @return float
126 */
127 public function getF1Score()
128 {
129 return $this->f1Score;
130 }
131 /**
132 * @param float
133 */
134 public function setF1ScoreAt1($f1ScoreAt1)
135 {
136 $this->f1ScoreAt1 = $f1ScoreAt1;
137 }
138 /**
139 * @return float
140 */
141 public function getF1ScoreAt1()
142 {
143 return $this->f1ScoreAt1;
144 }
145 /**
146 * @param float
147 */
148 public function setF1ScoreMacro($f1ScoreMacro)
149 {
150 $this->f1ScoreMacro = $f1ScoreMacro;
151 }
152 /**
153 * @return float
154 */
155 public function getF1ScoreMacro()
156 {
157 return $this->f1ScoreMacro;
158 }
159 /**
160 * @param float
161 */
162 public function setF1ScoreMicro($f1ScoreMicro)
163 {
164 $this->f1ScoreMicro = $f1ScoreMicro;
165 }
166 /**
167 * @return float
168 */
169 public function getF1ScoreMicro()
170 {
171 return $this->f1ScoreMicro;
172 }
173 /**
174 * @param string
175 */
176 public function setFalseNegativeCount($falseNegativeCount)
177 {
178 $this->falseNegativeCount = $falseNegativeCount;
179 }
180 /**
181 * @return string
182 */
183 public function getFalseNegativeCount()
184 {
185 return $this->falseNegativeCount;
186 }
187 /**
188 * @param string
189 */
190 public function setFalsePositiveCount($falsePositiveCount)
191 {
192 $this->falsePositiveCount = $falsePositiveCount;
193 }
194 /**
195 * @return string
196 */
197 public function getFalsePositiveCount()
198 {
199 return $this->falsePositiveCount;
200 }
201 /**
202 * @param float
203 */
204 public function setFalsePositiveRate($falsePositiveRate)
205 {
206 $this->falsePositiveRate = $falsePositiveRate;
207 }
208 /**
209 * @return float
210 */
211 public function getFalsePositiveRate()
212 {
213 return $this->falsePositiveRate;
214 }
215 /**
216 * @param float
217 */
218 public function setFalsePositiveRateAt1($falsePositiveRateAt1)
219 {
220 $this->falsePositiveRateAt1 = $falsePositiveRateAt1;
221 }
222 /**
223 * @return float
224 */
225 public function getFalsePositiveRateAt1()
226 {
227 return $this->falsePositiveRateAt1;
228 }
229 /**
230 * @param int
231 */
232 public function setMaxPredictions($maxPredictions)
233 {
234 $this->maxPredictions = $maxPredictions;
235 }
236 /**
237 * @return int
238 */
239 public function getMaxPredictions()
240 {
241 return $this->maxPredictions;
242 }
243 /**
244 * @param float
245 */
246 public function setPrecision($precision)
247 {
248 $this->precision = $precision;
249 }
250 /**
251 * @return float
252 */
253 public function getPrecision()
254 {
255 return $this->precision;
256 }
257 /**
258 * @param float
259 */
260 public function setPrecisionAt1($precisionAt1)
261 {
262 $this->precisionAt1 = $precisionAt1;
263 }
264 /**
265 * @return float
266 */
267 public function getPrecisionAt1()
268 {
269 return $this->precisionAt1;
270 }
271 /**
272 * @param float
273 */
274 public function setRecall($recall)
275 {
276 $this->recall = $recall;
277 }
278 /**
279 * @return float
280 */
281 public function getRecall()
282 {
283 return $this->recall;
284 }
285 /**
286 * @param float
287 */
288 public function setRecallAt1($recallAt1)
289 {
290 $this->recallAt1 = $recallAt1;
291 }
292 /**
293 * @return float
294 */
295 public function getRecallAt1()
296 {
297 return $this->recallAt1;
298 }
299 /**
300 * @param string
301 */
302 public function setTrueNegativeCount($trueNegativeCount)
303 {
304 $this->trueNegativeCount = $trueNegativeCount;
305 }
306 /**
307 * @return string
308 */
309 public function getTrueNegativeCount()
310 {
311 return $this->trueNegativeCount;
312 }
313 /**
314 * @param string
315 */
316 public function setTruePositiveCount($truePositiveCount)
317 {
318 $this->truePositiveCount = $truePositiveCount;
319 }
320 /**
321 * @return string
322 */
323 public function getTruePositiveCount()
324 {
325 return $this->truePositiveCount;
326 }
327}
328
329// Adding a class alias for backwards compatibility with the previous class name.
330class_alias(GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics');
Note: See TracBrowser for help on using the repository browser.