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\DataLabeling; 19 20class GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry extends \Google\Model 21{ 22 /** 23 * @var float 24 */ 25 public $confidenceThreshold; 26 /** 27 * @var float 28 */ 29 public $f1Score; 30 /** 31 * @var float 32 */ 33 public $f1ScoreAt1; 34 /** 35 * @var float 36 */ 37 public $f1ScoreAt5; 38 /** 39 * @var float 40 */ 41 public $precision; 42 /** 43 * @var float 44 */ 45 public $precisionAt1; 46 /** 47 * @var float 48 */ 49 public $precisionAt5; 50 /** 51 * @var float 52 */ 53 public $recall; 54 /** 55 * @var float 56 */ 57 public $recallAt1; 58 /** 59 * @var float 60 */ 61 public $recallAt5; 62 63 /** 64 * @param float 65 */ 66 public function setConfidenceThreshold($confidenceThreshold) 67 { 68 $this->confidenceThreshold = $confidenceThreshold; 69 } 70 /** 71 * @return float 72 */ 73 public function getConfidenceThreshold() 74 { 75 return $this->confidenceThreshold; 76 } 77 /** 78 * @param float 79 */ 80 public function setF1Score($f1Score) 81 { 82 $this->f1Score = $f1Score; 83 } 84 /** 85 * @return float 86 */ 87 public function getF1Score() 88 { 89 return $this->f1Score; 90 } 91 /** 92 * @param float 93 */ 94 public function setF1ScoreAt1($f1ScoreAt1) 95 { 96 $this->f1ScoreAt1 = $f1ScoreAt1; 97 } 98 /** 99 * @return float 100 */ 101 public function getF1ScoreAt1() 102 { 103 return $this->f1ScoreAt1; 104 } 105 /** 106 * @param float 107 */ 108 public function setF1ScoreAt5($f1ScoreAt5) 109 { 110 $this->f1ScoreAt5 = $f1ScoreAt5; 111 } 112 /** 113 * @return float 114 */ 115 public function getF1ScoreAt5() 116 { 117 return $this->f1ScoreAt5; 118 } 119 /** 120 * @param float 121 */ 122 public function setPrecision($precision) 123 { 124 $this->precision = $precision; 125 } 126 /** 127 * @return float 128 */ 129 public function getPrecision() 130 { 131 return $this->precision; 132 } 133 /** 134 * @param float 135 */ 136 public function setPrecisionAt1($precisionAt1) 137 { 138 $this->precisionAt1 = $precisionAt1; 139 } 140 /** 141 * @return float 142 */ 143 public function getPrecisionAt1() 144 { 145 return $this->precisionAt1; 146 } 147 /** 148 * @param float 149 */ 150 public function setPrecisionAt5($precisionAt5) 151 { 152 $this->precisionAt5 = $precisionAt5; 153 } 154 /** 155 * @return float 156 */ 157 public function getPrecisionAt5() 158 { 159 return $this->precisionAt5; 160 } 161 /** 162 * @param float 163 */ 164 public function setRecall($recall) 165 { 166 $this->recall = $recall; 167 } 168 /** 169 * @return float 170 */ 171 public function getRecall() 172 { 173 return $this->recall; 174 } 175 /** 176 * @param float 177 */ 178 public function setRecallAt1($recallAt1) 179 { 180 $this->recallAt1 = $recallAt1; 181 } 182 /** 183 * @return float 184 */ 185 public function getRecallAt1() 186 { 187 return $this->recallAt1; 188 } 189 /** 190 * @param float 191 */ 192 public function setRecallAt5($recallAt5) 193 { 194 $this->recallAt5 = $recallAt5; 195 } 196 /** 197 * @return float 198 */ 199 public function getRecallAt5() 200 { 201 return $this->recallAt5; 202 } 203} 204 205// Adding a class alias for backwards compatibility with the previous class name. 206class_alias(GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry'); 207