Ingen beskrivning

GoogleCloudMlV1HyperparameterOutput.php 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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_GoogleCloudMlV1HyperparameterOutput extends Google_Collection
  18. {
  19. protected $collection_key = 'allMetrics';
  20. protected $allMetricsType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric';
  21. protected $allMetricsDataType = 'array';
  22. protected $finalMetricType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric';
  23. protected $finalMetricDataType = '';
  24. public $hyperparameters;
  25. public $isTrialStoppedEarly;
  26. public $trialId;
  27. /**
  28. * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
  29. */
  30. public function setAllMetrics($allMetrics)
  31. {
  32. $this->allMetrics = $allMetrics;
  33. }
  34. /**
  35. * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
  36. */
  37. public function getAllMetrics()
  38. {
  39. return $this->allMetrics;
  40. }
  41. /**
  42. * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
  43. */
  44. public function setFinalMetric(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric $finalMetric)
  45. {
  46. $this->finalMetric = $finalMetric;
  47. }
  48. /**
  49. * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
  50. */
  51. public function getFinalMetric()
  52. {
  53. return $this->finalMetric;
  54. }
  55. public function setHyperparameters($hyperparameters)
  56. {
  57. $this->hyperparameters = $hyperparameters;
  58. }
  59. public function getHyperparameters()
  60. {
  61. return $this->hyperparameters;
  62. }
  63. public function setIsTrialStoppedEarly($isTrialStoppedEarly)
  64. {
  65. $this->isTrialStoppedEarly = $isTrialStoppedEarly;
  66. }
  67. public function getIsTrialStoppedEarly()
  68. {
  69. return $this->isTrialStoppedEarly;
  70. }
  71. public function setTrialId($trialId)
  72. {
  73. $this->trialId = $trialId;
  74. }
  75. public function getTrialId()
  76. {
  77. return $this->trialId;
  78. }
  79. }