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 XPSTablesClassificationMetricsCurveMetrics extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'confidenceMetricsEntries';
|
---|
23 | public $aucPr;
|
---|
24 | public $aucRoc;
|
---|
25 | protected $confidenceMetricsEntriesType = XPSTablesConfidenceMetricsEntry::class;
|
---|
26 | protected $confidenceMetricsEntriesDataType = 'array';
|
---|
27 | public $logLoss;
|
---|
28 | /**
|
---|
29 | * @var int
|
---|
30 | */
|
---|
31 | public $positionThreshold;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $value;
|
---|
36 |
|
---|
37 | public function setAucPr($aucPr)
|
---|
38 | {
|
---|
39 | $this->aucPr = $aucPr;
|
---|
40 | }
|
---|
41 | public function getAucPr()
|
---|
42 | {
|
---|
43 | return $this->aucPr;
|
---|
44 | }
|
---|
45 | public function setAucRoc($aucRoc)
|
---|
46 | {
|
---|
47 | $this->aucRoc = $aucRoc;
|
---|
48 | }
|
---|
49 | public function getAucRoc()
|
---|
50 | {
|
---|
51 | return $this->aucRoc;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * @param XPSTablesConfidenceMetricsEntry[]
|
---|
55 | */
|
---|
56 | public function setConfidenceMetricsEntries($confidenceMetricsEntries)
|
---|
57 | {
|
---|
58 | $this->confidenceMetricsEntries = $confidenceMetricsEntries;
|
---|
59 | }
|
---|
60 | /**
|
---|
61 | * @return XPSTablesConfidenceMetricsEntry[]
|
---|
62 | */
|
---|
63 | public function getConfidenceMetricsEntries()
|
---|
64 | {
|
---|
65 | return $this->confidenceMetricsEntries;
|
---|
66 | }
|
---|
67 | public function setLogLoss($logLoss)
|
---|
68 | {
|
---|
69 | $this->logLoss = $logLoss;
|
---|
70 | }
|
---|
71 | public function getLogLoss()
|
---|
72 | {
|
---|
73 | return $this->logLoss;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @param int
|
---|
77 | */
|
---|
78 | public function setPositionThreshold($positionThreshold)
|
---|
79 | {
|
---|
80 | $this->positionThreshold = $positionThreshold;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @return int
|
---|
84 | */
|
---|
85 | public function getPositionThreshold()
|
---|
86 | {
|
---|
87 | return $this->positionThreshold;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @param string
|
---|
91 | */
|
---|
92 | public function setValue($value)
|
---|
93 | {
|
---|
94 | $this->value = $value;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return string
|
---|
98 | */
|
---|
99 | public function getValue()
|
---|
100 | {
|
---|
101 | return $this->value;
|
---|
102 | }
|
---|
103 | }
|
---|
104 |
|
---|
105 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
106 | class_alias(XPSTablesClassificationMetricsCurveMetrics::class, 'Google_Service_CloudNaturalLanguage_XPSTablesClassificationMetricsCurveMetrics');
|
---|