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\Bigquery;
19
20class AggregateClassificationMetrics extends \Google\Model
21{
22  public $accuracy;
23  public $f1Score;
24  public $logLoss;
25  public $precision;
26  public $recall;
27  public $rocAuc;
28  public $threshold;
29
30  public function setAccuracy($accuracy)
31  {
32    $this->accuracy = $accuracy;
33  }
34  public function getAccuracy()
35  {
36    return $this->accuracy;
37  }
38  public function setF1Score($f1Score)
39  {
40    $this->f1Score = $f1Score;
41  }
42  public function getF1Score()
43  {
44    return $this->f1Score;
45  }
46  public function setLogLoss($logLoss)
47  {
48    $this->logLoss = $logLoss;
49  }
50  public function getLogLoss()
51  {
52    return $this->logLoss;
53  }
54  public function setPrecision($precision)
55  {
56    $this->precision = $precision;
57  }
58  public function getPrecision()
59  {
60    return $this->precision;
61  }
62  public function setRecall($recall)
63  {
64    $this->recall = $recall;
65  }
66  public function getRecall()
67  {
68    return $this->recall;
69  }
70  public function setRocAuc($rocAuc)
71  {
72    $this->rocAuc = $rocAuc;
73  }
74  public function getRocAuc()
75  {
76    return $this->rocAuc;
77  }
78  public function setThreshold($threshold)
79  {
80    $this->threshold = $threshold;
81  }
82  public function getThreshold()
83  {
84    return $this->threshold;
85  }
86}
87
88// Adding a class alias for backwards compatibility with the previous class name.
89class_alias(AggregateClassificationMetrics::class, 'Google_Service_Bigquery_AggregateClassificationMetrics');
90