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\Bigquery; 19 20class IterationResult extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $durationMs; 26 public $evalLoss; 27 /** 28 * @var int 29 */ 30 public $index; 31 public $learnRate; 32 public $trainingLoss; 33 34 /** 35 * @param string 36 */ 37 public function setDurationMs($durationMs) 38 { 39 $this->durationMs = $durationMs; 40 } 41 /** 42 * @return string 43 */ 44 public function getDurationMs() 45 { 46 return $this->durationMs; 47 } 48 public function setEvalLoss($evalLoss) 49 { 50 $this->evalLoss = $evalLoss; 51 } 52 public function getEvalLoss() 53 { 54 return $this->evalLoss; 55 } 56 /** 57 * @param int 58 */ 59 public function setIndex($index) 60 { 61 $this->index = $index; 62 } 63 /** 64 * @return int 65 */ 66 public function getIndex() 67 { 68 return $this->index; 69 } 70 public function setLearnRate($learnRate) 71 { 72 $this->learnRate = $learnRate; 73 } 74 public function getLearnRate() 75 { 76 return $this->learnRate; 77 } 78 public function setTrainingLoss($trainingLoss) 79 { 80 $this->trainingLoss = $trainingLoss; 81 } 82 public function getTrainingLoss() 83 { 84 return $this->trainingLoss; 85 } 86} 87 88// Adding a class alias for backwards compatibility with the previous class name. 89class_alias(IterationResult::class, 'Google_Service_Bigquery_IterationResult'); 90