설명 없음

GoogleCloudMlV1HyperparameterSpec.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. class Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec extends Google_Collection
  18. {
  19. protected $collection_key = 'params';
  20. public $algorithm;
  21. public $enableTrialEarlyStopping;
  22. public $goal;
  23. public $hyperparameterMetricTag;
  24. public $maxParallelTrials;
  25. public $maxTrials;
  26. protected $paramsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ParameterSpec';
  27. protected $paramsDataType = 'array';
  28. public $resumePreviousJobId;
  29. public function setAlgorithm($algorithm)
  30. {
  31. $this->algorithm = $algorithm;
  32. }
  33. public function getAlgorithm()
  34. {
  35. return $this->algorithm;
  36. }
  37. public function setEnableTrialEarlyStopping($enableTrialEarlyStopping)
  38. {
  39. $this->enableTrialEarlyStopping = $enableTrialEarlyStopping;
  40. }
  41. public function getEnableTrialEarlyStopping()
  42. {
  43. return $this->enableTrialEarlyStopping;
  44. }
  45. public function setGoal($goal)
  46. {
  47. $this->goal = $goal;
  48. }
  49. public function getGoal()
  50. {
  51. return $this->goal;
  52. }
  53. public function setHyperparameterMetricTag($hyperparameterMetricTag)
  54. {
  55. $this->hyperparameterMetricTag = $hyperparameterMetricTag;
  56. }
  57. public function getHyperparameterMetricTag()
  58. {
  59. return $this->hyperparameterMetricTag;
  60. }
  61. public function setMaxParallelTrials($maxParallelTrials)
  62. {
  63. $this->maxParallelTrials = $maxParallelTrials;
  64. }
  65. public function getMaxParallelTrials()
  66. {
  67. return $this->maxParallelTrials;
  68. }
  69. public function setMaxTrials($maxTrials)
  70. {
  71. $this->maxTrials = $maxTrials;
  72. }
  73. public function getMaxTrials()
  74. {
  75. return $this->maxTrials;
  76. }
  77. /**
  78. * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ParameterSpec
  79. */
  80. public function setParams($params)
  81. {
  82. $this->params = $params;
  83. }
  84. /**
  85. * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ParameterSpec
  86. */
  87. public function getParams()
  88. {
  89. return $this->params;
  90. }
  91. public function setResumePreviousJobId($resumePreviousJobId)
  92. {
  93. $this->resumePreviousJobId = $resumePreviousJobId;
  94. }
  95. public function getResumePreviousJobId()
  96. {
  97. return $this->resumePreviousJobId;
  98. }
  99. }