[e3d4e0a] | 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 HparamTuningTrial extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $endTimeMs;
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $errorMessage;
|
---|
| 30 | public $evalLoss;
|
---|
| 31 | protected $evaluationMetricsType = EvaluationMetrics::class;
|
---|
| 32 | protected $evaluationMetricsDataType = '';
|
---|
| 33 | protected $hparamTuningEvaluationMetricsType = EvaluationMetrics::class;
|
---|
| 34 | protected $hparamTuningEvaluationMetricsDataType = '';
|
---|
| 35 | protected $hparamsType = TrainingOptions::class;
|
---|
| 36 | protected $hparamsDataType = '';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $startTimeMs;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $status;
|
---|
| 45 | public $trainingLoss;
|
---|
| 46 | /**
|
---|
| 47 | * @var string
|
---|
| 48 | */
|
---|
| 49 | public $trialId;
|
---|
| 50 |
|
---|
| 51 | /**
|
---|
| 52 | * @param string
|
---|
| 53 | */
|
---|
| 54 | public function setEndTimeMs($endTimeMs)
|
---|
| 55 | {
|
---|
| 56 | $this->endTimeMs = $endTimeMs;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @return string
|
---|
| 60 | */
|
---|
| 61 | public function getEndTimeMs()
|
---|
| 62 | {
|
---|
| 63 | return $this->endTimeMs;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @param string
|
---|
| 67 | */
|
---|
| 68 | public function setErrorMessage($errorMessage)
|
---|
| 69 | {
|
---|
| 70 | $this->errorMessage = $errorMessage;
|
---|
| 71 | }
|
---|
| 72 | /**
|
---|
| 73 | * @return string
|
---|
| 74 | */
|
---|
| 75 | public function getErrorMessage()
|
---|
| 76 | {
|
---|
| 77 | return $this->errorMessage;
|
---|
| 78 | }
|
---|
| 79 | public function setEvalLoss($evalLoss)
|
---|
| 80 | {
|
---|
| 81 | $this->evalLoss = $evalLoss;
|
---|
| 82 | }
|
---|
| 83 | public function getEvalLoss()
|
---|
| 84 | {
|
---|
| 85 | return $this->evalLoss;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param EvaluationMetrics
|
---|
| 89 | */
|
---|
| 90 | public function setEvaluationMetrics(EvaluationMetrics $evaluationMetrics)
|
---|
| 91 | {
|
---|
| 92 | $this->evaluationMetrics = $evaluationMetrics;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return EvaluationMetrics
|
---|
| 96 | */
|
---|
| 97 | public function getEvaluationMetrics()
|
---|
| 98 | {
|
---|
| 99 | return $this->evaluationMetrics;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @param EvaluationMetrics
|
---|
| 103 | */
|
---|
| 104 | public function setHparamTuningEvaluationMetrics(EvaluationMetrics $hparamTuningEvaluationMetrics)
|
---|
| 105 | {
|
---|
| 106 | $this->hparamTuningEvaluationMetrics = $hparamTuningEvaluationMetrics;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @return EvaluationMetrics
|
---|
| 110 | */
|
---|
| 111 | public function getHparamTuningEvaluationMetrics()
|
---|
| 112 | {
|
---|
| 113 | return $this->hparamTuningEvaluationMetrics;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @param TrainingOptions
|
---|
| 117 | */
|
---|
| 118 | public function setHparams(TrainingOptions $hparams)
|
---|
| 119 | {
|
---|
| 120 | $this->hparams = $hparams;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @return TrainingOptions
|
---|
| 124 | */
|
---|
| 125 | public function getHparams()
|
---|
| 126 | {
|
---|
| 127 | return $this->hparams;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param string
|
---|
| 131 | */
|
---|
| 132 | public function setStartTimeMs($startTimeMs)
|
---|
| 133 | {
|
---|
| 134 | $this->startTimeMs = $startTimeMs;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return string
|
---|
| 138 | */
|
---|
| 139 | public function getStartTimeMs()
|
---|
| 140 | {
|
---|
| 141 | return $this->startTimeMs;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @param string
|
---|
| 145 | */
|
---|
| 146 | public function setStatus($status)
|
---|
| 147 | {
|
---|
| 148 | $this->status = $status;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @return string
|
---|
| 152 | */
|
---|
| 153 | public function getStatus()
|
---|
| 154 | {
|
---|
| 155 | return $this->status;
|
---|
| 156 | }
|
---|
| 157 | public function setTrainingLoss($trainingLoss)
|
---|
| 158 | {
|
---|
| 159 | $this->trainingLoss = $trainingLoss;
|
---|
| 160 | }
|
---|
| 161 | public function getTrainingLoss()
|
---|
| 162 | {
|
---|
| 163 | return $this->trainingLoss;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @param string
|
---|
| 167 | */
|
---|
| 168 | public function setTrialId($trialId)
|
---|
| 169 | {
|
---|
| 170 | $this->trialId = $trialId;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @return string
|
---|
| 174 | */
|
---|
| 175 | public function getTrialId()
|
---|
| 176 | {
|
---|
| 177 | return $this->trialId;
|
---|
| 178 | }
|
---|
| 179 | }
|
---|
| 180 |
|
---|
| 181 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 182 | class_alias(HparamTuningTrial::class, 'Google_Service_Bigquery_HparamTuningTrial');
|
---|