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 |
|
---|
18 | namespace Google\Service\Aiplatform;
|
---|
19 |
|
---|
20 | class GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'confidenceMetrics';
|
---|
23 | /**
|
---|
24 | * @var float
|
---|
25 | */
|
---|
26 | public $auPrc;
|
---|
27 | /**
|
---|
28 | * @var float
|
---|
29 | */
|
---|
30 | public $auRoc;
|
---|
31 | protected $confidenceMetricsType = GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics::class;
|
---|
32 | protected $confidenceMetricsDataType = 'array';
|
---|
33 | protected $confusionMatrixType = GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix::class;
|
---|
34 | protected $confusionMatrixDataType = '';
|
---|
35 | /**
|
---|
36 | * @var float
|
---|
37 | */
|
---|
38 | public $logLoss;
|
---|
39 |
|
---|
40 | /**
|
---|
41 | * @param float
|
---|
42 | */
|
---|
43 | public function setAuPrc($auPrc)
|
---|
44 | {
|
---|
45 | $this->auPrc = $auPrc;
|
---|
46 | }
|
---|
47 | /**
|
---|
48 | * @return float
|
---|
49 | */
|
---|
50 | public function getAuPrc()
|
---|
51 | {
|
---|
52 | return $this->auPrc;
|
---|
53 | }
|
---|
54 | /**
|
---|
55 | * @param float
|
---|
56 | */
|
---|
57 | public function setAuRoc($auRoc)
|
---|
58 | {
|
---|
59 | $this->auRoc = $auRoc;
|
---|
60 | }
|
---|
61 | /**
|
---|
62 | * @return float
|
---|
63 | */
|
---|
64 | public function getAuRoc()
|
---|
65 | {
|
---|
66 | return $this->auRoc;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @param GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics[]
|
---|
70 | */
|
---|
71 | public function setConfidenceMetrics($confidenceMetrics)
|
---|
72 | {
|
---|
73 | $this->confidenceMetrics = $confidenceMetrics;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @return GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics[]
|
---|
77 | */
|
---|
78 | public function getConfidenceMetrics()
|
---|
79 | {
|
---|
80 | return $this->confidenceMetrics;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @param GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix
|
---|
84 | */
|
---|
85 | public function setConfusionMatrix(GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix $confusionMatrix)
|
---|
86 | {
|
---|
87 | $this->confusionMatrix = $confusionMatrix;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @return GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix
|
---|
91 | */
|
---|
92 | public function getConfusionMatrix()
|
---|
93 | {
|
---|
94 | return $this->confusionMatrix;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @param float
|
---|
98 | */
|
---|
99 | public function setLogLoss($logLoss)
|
---|
100 | {
|
---|
101 | $this->logLoss = $logLoss;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @return float
|
---|
105 | */
|
---|
106 | public function getLogLoss()
|
---|
107 | {
|
---|
108 | return $this->logLoss;
|
---|
109 | }
|
---|
110 | }
|
---|
111 |
|
---|
112 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
113 | class_alias(GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics');
|
---|