source: vendor/google/apiclient-services/src/Bigquery/RankingMetrics.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 1.8 KB
Line 
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 RankingMetrics extends \Google\Model
21{
22 public $averageRank;
23 public $meanAveragePrecision;
24 public $meanSquaredError;
25 public $normalizedDiscountedCumulativeGain;
26
27 public function setAverageRank($averageRank)
28 {
29 $this->averageRank = $averageRank;
30 }
31 public function getAverageRank()
32 {
33 return $this->averageRank;
34 }
35 public function setMeanAveragePrecision($meanAveragePrecision)
36 {
37 $this->meanAveragePrecision = $meanAveragePrecision;
38 }
39 public function getMeanAveragePrecision()
40 {
41 return $this->meanAveragePrecision;
42 }
43 public function setMeanSquaredError($meanSquaredError)
44 {
45 $this->meanSquaredError = $meanSquaredError;
46 }
47 public function getMeanSquaredError()
48 {
49 return $this->meanSquaredError;
50 }
51 public function setNormalizedDiscountedCumulativeGain($normalizedDiscountedCumulativeGain)
52 {
53 $this->normalizedDiscountedCumulativeGain = $normalizedDiscountedCumulativeGain;
54 }
55 public function getNormalizedDiscountedCumulativeGain()
56 {
57 return $this->normalizedDiscountedCumulativeGain;
58 }
59}
60
61// Adding a class alias for backwards compatibility with the previous class name.
62class_alias(RankingMetrics::class, 'Google_Service_Bigquery_RankingMetrics');
Note: See TracBrowser for help on using the repository browser.