[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\CloudNaturalLanguage;
|
---|
| 19 |
|
---|
| 20 | class XPSTablesConfidenceMetricsEntry extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | public $confidenceThreshold;
|
---|
| 23 | public $f1Score;
|
---|
| 24 | /**
|
---|
| 25 | * @var string
|
---|
| 26 | */
|
---|
| 27 | public $falseNegativeCount;
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $falsePositiveCount;
|
---|
| 32 | public $falsePositiveRate;
|
---|
| 33 | public $precision;
|
---|
| 34 | public $recall;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $trueNegativeCount;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $truePositiveCount;
|
---|
| 43 | public $truePositiveRate;
|
---|
| 44 |
|
---|
| 45 | public function setConfidenceThreshold($confidenceThreshold)
|
---|
| 46 | {
|
---|
| 47 | $this->confidenceThreshold = $confidenceThreshold;
|
---|
| 48 | }
|
---|
| 49 | public function getConfidenceThreshold()
|
---|
| 50 | {
|
---|
| 51 | return $this->confidenceThreshold;
|
---|
| 52 | }
|
---|
| 53 | public function setF1Score($f1Score)
|
---|
| 54 | {
|
---|
| 55 | $this->f1Score = $f1Score;
|
---|
| 56 | }
|
---|
| 57 | public function getF1Score()
|
---|
| 58 | {
|
---|
| 59 | return $this->f1Score;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @param string
|
---|
| 63 | */
|
---|
| 64 | public function setFalseNegativeCount($falseNegativeCount)
|
---|
| 65 | {
|
---|
| 66 | $this->falseNegativeCount = $falseNegativeCount;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @return string
|
---|
| 70 | */
|
---|
| 71 | public function getFalseNegativeCount()
|
---|
| 72 | {
|
---|
| 73 | return $this->falseNegativeCount;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @param string
|
---|
| 77 | */
|
---|
| 78 | public function setFalsePositiveCount($falsePositiveCount)
|
---|
| 79 | {
|
---|
| 80 | $this->falsePositiveCount = $falsePositiveCount;
|
---|
| 81 | }
|
---|
| 82 | /**
|
---|
| 83 | * @return string
|
---|
| 84 | */
|
---|
| 85 | public function getFalsePositiveCount()
|
---|
| 86 | {
|
---|
| 87 | return $this->falsePositiveCount;
|
---|
| 88 | }
|
---|
| 89 | public function setFalsePositiveRate($falsePositiveRate)
|
---|
| 90 | {
|
---|
| 91 | $this->falsePositiveRate = $falsePositiveRate;
|
---|
| 92 | }
|
---|
| 93 | public function getFalsePositiveRate()
|
---|
| 94 | {
|
---|
| 95 | return $this->falsePositiveRate;
|
---|
| 96 | }
|
---|
| 97 | public function setPrecision($precision)
|
---|
| 98 | {
|
---|
| 99 | $this->precision = $precision;
|
---|
| 100 | }
|
---|
| 101 | public function getPrecision()
|
---|
| 102 | {
|
---|
| 103 | return $this->precision;
|
---|
| 104 | }
|
---|
| 105 | public function setRecall($recall)
|
---|
| 106 | {
|
---|
| 107 | $this->recall = $recall;
|
---|
| 108 | }
|
---|
| 109 | public function getRecall()
|
---|
| 110 | {
|
---|
| 111 | return $this->recall;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param string
|
---|
| 115 | */
|
---|
| 116 | public function setTrueNegativeCount($trueNegativeCount)
|
---|
| 117 | {
|
---|
| 118 | $this->trueNegativeCount = $trueNegativeCount;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return string
|
---|
| 122 | */
|
---|
| 123 | public function getTrueNegativeCount()
|
---|
| 124 | {
|
---|
| 125 | return $this->trueNegativeCount;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param string
|
---|
| 129 | */
|
---|
| 130 | public function setTruePositiveCount($truePositiveCount)
|
---|
| 131 | {
|
---|
| 132 | $this->truePositiveCount = $truePositiveCount;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return string
|
---|
| 136 | */
|
---|
| 137 | public function getTruePositiveCount()
|
---|
| 138 | {
|
---|
| 139 | return $this->truePositiveCount;
|
---|
| 140 | }
|
---|
| 141 | public function setTruePositiveRate($truePositiveRate)
|
---|
| 142 | {
|
---|
| 143 | $this->truePositiveRate = $truePositiveRate;
|
---|
| 144 | }
|
---|
| 145 | public function getTruePositiveRate()
|
---|
| 146 | {
|
---|
| 147 | return $this->truePositiveRate;
|
---|
| 148 | }
|
---|
| 149 | }
|
---|
| 150 |
|
---|
| 151 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 152 | class_alias(XPSTablesConfidenceMetricsEntry::class, 'Google_Service_CloudNaturalLanguage_XPSTablesConfidenceMetricsEntry');
|
---|