[f9c482b] | 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\CloudNaturalLanguage;
|
---|
| 19 |
|
---|
| 20 | class XPSTablesRegressionMetrics extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'regressionMetricsEntries';
|
---|
| 23 | public $meanAbsoluteError;
|
---|
| 24 | public $meanAbsolutePercentageError;
|
---|
| 25 | public $rSquared;
|
---|
| 26 | protected $regressionMetricsEntriesType = XPSRegressionMetricsEntry::class;
|
---|
| 27 | protected $regressionMetricsEntriesDataType = 'array';
|
---|
| 28 | public $rootMeanSquaredError;
|
---|
| 29 | public $rootMeanSquaredLogError;
|
---|
| 30 |
|
---|
| 31 | public function setMeanAbsoluteError($meanAbsoluteError)
|
---|
| 32 | {
|
---|
| 33 | $this->meanAbsoluteError = $meanAbsoluteError;
|
---|
| 34 | }
|
---|
| 35 | public function getMeanAbsoluteError()
|
---|
| 36 | {
|
---|
| 37 | return $this->meanAbsoluteError;
|
---|
| 38 | }
|
---|
| 39 | public function setMeanAbsolutePercentageError($meanAbsolutePercentageError)
|
---|
| 40 | {
|
---|
| 41 | $this->meanAbsolutePercentageError = $meanAbsolutePercentageError;
|
---|
| 42 | }
|
---|
| 43 | public function getMeanAbsolutePercentageError()
|
---|
| 44 | {
|
---|
| 45 | return $this->meanAbsolutePercentageError;
|
---|
| 46 | }
|
---|
| 47 | public function setRSquared($rSquared)
|
---|
| 48 | {
|
---|
| 49 | $this->rSquared = $rSquared;
|
---|
| 50 | }
|
---|
| 51 | public function getRSquared()
|
---|
| 52 | {
|
---|
| 53 | return $this->rSquared;
|
---|
| 54 | }
|
---|
| 55 | /**
|
---|
| 56 | * @param XPSRegressionMetricsEntry[]
|
---|
| 57 | */
|
---|
| 58 | public function setRegressionMetricsEntries($regressionMetricsEntries)
|
---|
| 59 | {
|
---|
| 60 | $this->regressionMetricsEntries = $regressionMetricsEntries;
|
---|
| 61 | }
|
---|
| 62 | /**
|
---|
| 63 | * @return XPSRegressionMetricsEntry[]
|
---|
| 64 | */
|
---|
| 65 | public function getRegressionMetricsEntries()
|
---|
| 66 | {
|
---|
| 67 | return $this->regressionMetricsEntries;
|
---|
| 68 | }
|
---|
| 69 | public function setRootMeanSquaredError($rootMeanSquaredError)
|
---|
| 70 | {
|
---|
| 71 | $this->rootMeanSquaredError = $rootMeanSquaredError;
|
---|
| 72 | }
|
---|
| 73 | public function getRootMeanSquaredError()
|
---|
| 74 | {
|
---|
| 75 | return $this->rootMeanSquaredError;
|
---|
| 76 | }
|
---|
| 77 | public function setRootMeanSquaredLogError($rootMeanSquaredLogError)
|
---|
| 78 | {
|
---|
| 79 | $this->rootMeanSquaredLogError = $rootMeanSquaredLogError;
|
---|
| 80 | }
|
---|
| 81 | public function getRootMeanSquaredLogError()
|
---|
| 82 | {
|
---|
| 83 | return $this->rootMeanSquaredLogError;
|
---|
| 84 | }
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 88 | class_alias(XPSTablesRegressionMetrics::class, 'Google_Service_CloudNaturalLanguage_XPSTablesRegressionMetrics');
|
---|