source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics.php

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

Upload project files

  • Property mode set to 100644
File size: 4.1 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 GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics extends \Google\Collection
21{
22 protected $collection_key = 'quantileMetrics';
23 /**
24 * @var float
25 */
26 public $meanAbsoluteError;
27 /**
28 * @var float
29 */
30 public $meanAbsolutePercentageError;
31 protected $quantileMetricsType = GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry::class;
32 protected $quantileMetricsDataType = 'array';
33 /**
34 * @var float
35 */
36 public $rSquared;
37 /**
38 * @var float
39 */
40 public $rootMeanSquaredError;
41 /**
42 * @var float
43 */
44 public $rootMeanSquaredLogError;
45 /**
46 * @var float
47 */
48 public $rootMeanSquaredPercentageError;
49 /**
50 * @var float
51 */
52 public $weightedAbsolutePercentageError;
53
54 /**
55 * @param float
56 */
57 public function setMeanAbsoluteError($meanAbsoluteError)
58 {
59 $this->meanAbsoluteError = $meanAbsoluteError;
60 }
61 /**
62 * @return float
63 */
64 public function getMeanAbsoluteError()
65 {
66 return $this->meanAbsoluteError;
67 }
68 /**
69 * @param float
70 */
71 public function setMeanAbsolutePercentageError($meanAbsolutePercentageError)
72 {
73 $this->meanAbsolutePercentageError = $meanAbsolutePercentageError;
74 }
75 /**
76 * @return float
77 */
78 public function getMeanAbsolutePercentageError()
79 {
80 return $this->meanAbsolutePercentageError;
81 }
82 /**
83 * @param GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry[]
84 */
85 public function setQuantileMetrics($quantileMetrics)
86 {
87 $this->quantileMetrics = $quantileMetrics;
88 }
89 /**
90 * @return GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry[]
91 */
92 public function getQuantileMetrics()
93 {
94 return $this->quantileMetrics;
95 }
96 /**
97 * @param float
98 */
99 public function setRSquared($rSquared)
100 {
101 $this->rSquared = $rSquared;
102 }
103 /**
104 * @return float
105 */
106 public function getRSquared()
107 {
108 return $this->rSquared;
109 }
110 /**
111 * @param float
112 */
113 public function setRootMeanSquaredError($rootMeanSquaredError)
114 {
115 $this->rootMeanSquaredError = $rootMeanSquaredError;
116 }
117 /**
118 * @return float
119 */
120 public function getRootMeanSquaredError()
121 {
122 return $this->rootMeanSquaredError;
123 }
124 /**
125 * @param float
126 */
127 public function setRootMeanSquaredLogError($rootMeanSquaredLogError)
128 {
129 $this->rootMeanSquaredLogError = $rootMeanSquaredLogError;
130 }
131 /**
132 * @return float
133 */
134 public function getRootMeanSquaredLogError()
135 {
136 return $this->rootMeanSquaredLogError;
137 }
138 /**
139 * @param float
140 */
141 public function setRootMeanSquaredPercentageError($rootMeanSquaredPercentageError)
142 {
143 $this->rootMeanSquaredPercentageError = $rootMeanSquaredPercentageError;
144 }
145 /**
146 * @return float
147 */
148 public function getRootMeanSquaredPercentageError()
149 {
150 return $this->rootMeanSquaredPercentageError;
151 }
152 /**
153 * @param float
154 */
155 public function setWeightedAbsolutePercentageError($weightedAbsolutePercentageError)
156 {
157 $this->weightedAbsolutePercentageError = $weightedAbsolutePercentageError;
158 }
159 /**
160 * @return float
161 */
162 public function getWeightedAbsolutePercentageError()
163 {
164 return $this->weightedAbsolutePercentageError;
165 }
166}
167
168// Adding a class alias for backwards compatibility with the previous class name.
169class_alias(GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics');
Note: See TracBrowser for help on using the repository browser.