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\Bigquery;
|
---|
19 |
|
---|
20 | class IterationResult extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'principalComponentInfos';
|
---|
23 | protected $arimaResultType = ArimaResult::class;
|
---|
24 | protected $arimaResultDataType = '';
|
---|
25 | protected $clusterInfosType = ClusterInfo::class;
|
---|
26 | protected $clusterInfosDataType = 'array';
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $durationMs;
|
---|
31 | public $evalLoss;
|
---|
32 | /**
|
---|
33 | * @var int
|
---|
34 | */
|
---|
35 | public $index;
|
---|
36 | public $learnRate;
|
---|
37 | protected $principalComponentInfosType = PrincipalComponentInfo::class;
|
---|
38 | protected $principalComponentInfosDataType = 'array';
|
---|
39 | public $trainingLoss;
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param ArimaResult
|
---|
43 | */
|
---|
44 | public function setArimaResult(ArimaResult $arimaResult)
|
---|
45 | {
|
---|
46 | $this->arimaResult = $arimaResult;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return ArimaResult
|
---|
50 | */
|
---|
51 | public function getArimaResult()
|
---|
52 | {
|
---|
53 | return $this->arimaResult;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param ClusterInfo[]
|
---|
57 | */
|
---|
58 | public function setClusterInfos($clusterInfos)
|
---|
59 | {
|
---|
60 | $this->clusterInfos = $clusterInfos;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return ClusterInfo[]
|
---|
64 | */
|
---|
65 | public function getClusterInfos()
|
---|
66 | {
|
---|
67 | return $this->clusterInfos;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param string
|
---|
71 | */
|
---|
72 | public function setDurationMs($durationMs)
|
---|
73 | {
|
---|
74 | $this->durationMs = $durationMs;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return string
|
---|
78 | */
|
---|
79 | public function getDurationMs()
|
---|
80 | {
|
---|
81 | return $this->durationMs;
|
---|
82 | }
|
---|
83 | public function setEvalLoss($evalLoss)
|
---|
84 | {
|
---|
85 | $this->evalLoss = $evalLoss;
|
---|
86 | }
|
---|
87 | public function getEvalLoss()
|
---|
88 | {
|
---|
89 | return $this->evalLoss;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param int
|
---|
93 | */
|
---|
94 | public function setIndex($index)
|
---|
95 | {
|
---|
96 | $this->index = $index;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return int
|
---|
100 | */
|
---|
101 | public function getIndex()
|
---|
102 | {
|
---|
103 | return $this->index;
|
---|
104 | }
|
---|
105 | public function setLearnRate($learnRate)
|
---|
106 | {
|
---|
107 | $this->learnRate = $learnRate;
|
---|
108 | }
|
---|
109 | public function getLearnRate()
|
---|
110 | {
|
---|
111 | return $this->learnRate;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param PrincipalComponentInfo[]
|
---|
115 | */
|
---|
116 | public function setPrincipalComponentInfos($principalComponentInfos)
|
---|
117 | {
|
---|
118 | $this->principalComponentInfos = $principalComponentInfos;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return PrincipalComponentInfo[]
|
---|
122 | */
|
---|
123 | public function getPrincipalComponentInfos()
|
---|
124 | {
|
---|
125 | return $this->principalComponentInfos;
|
---|
126 | }
|
---|
127 | public function setTrainingLoss($trainingLoss)
|
---|
128 | {
|
---|
129 | $this->trainingLoss = $trainingLoss;
|
---|
130 | }
|
---|
131 | public function getTrainingLoss()
|
---|
132 | {
|
---|
133 | return $this->trainingLoss;
|
---|
134 | }
|
---|
135 | }
|
---|
136 |
|
---|
137 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
138 | class_alias(IterationResult::class, 'Google_Service_Bigquery_IterationResult');
|
---|