[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\Aiplatform;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudAiplatformV1ExplanationParameters extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'outputIndices';
|
---|
| 23 | protected $examplesType = GoogleCloudAiplatformV1Examples::class;
|
---|
| 24 | protected $examplesDataType = '';
|
---|
| 25 | protected $integratedGradientsAttributionType = GoogleCloudAiplatformV1IntegratedGradientsAttribution::class;
|
---|
| 26 | protected $integratedGradientsAttributionDataType = '';
|
---|
| 27 | /**
|
---|
| 28 | * @var array[]
|
---|
| 29 | */
|
---|
| 30 | public $outputIndices;
|
---|
| 31 | protected $sampledShapleyAttributionType = GoogleCloudAiplatformV1SampledShapleyAttribution::class;
|
---|
| 32 | protected $sampledShapleyAttributionDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var int
|
---|
| 35 | */
|
---|
| 36 | public $topK;
|
---|
| 37 | protected $xraiAttributionType = GoogleCloudAiplatformV1XraiAttribution::class;
|
---|
| 38 | protected $xraiAttributionDataType = '';
|
---|
| 39 |
|
---|
| 40 | /**
|
---|
| 41 | * @param GoogleCloudAiplatformV1Examples
|
---|
| 42 | */
|
---|
| 43 | public function setExamples(GoogleCloudAiplatformV1Examples $examples)
|
---|
| 44 | {
|
---|
| 45 | $this->examples = $examples;
|
---|
| 46 | }
|
---|
| 47 | /**
|
---|
| 48 | * @return GoogleCloudAiplatformV1Examples
|
---|
| 49 | */
|
---|
| 50 | public function getExamples()
|
---|
| 51 | {
|
---|
| 52 | return $this->examples;
|
---|
| 53 | }
|
---|
| 54 | /**
|
---|
| 55 | * @param GoogleCloudAiplatformV1IntegratedGradientsAttribution
|
---|
| 56 | */
|
---|
| 57 | public function setIntegratedGradientsAttribution(GoogleCloudAiplatformV1IntegratedGradientsAttribution $integratedGradientsAttribution)
|
---|
| 58 | {
|
---|
| 59 | $this->integratedGradientsAttribution = $integratedGradientsAttribution;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @return GoogleCloudAiplatformV1IntegratedGradientsAttribution
|
---|
| 63 | */
|
---|
| 64 | public function getIntegratedGradientsAttribution()
|
---|
| 65 | {
|
---|
| 66 | return $this->integratedGradientsAttribution;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @param array[]
|
---|
| 70 | */
|
---|
| 71 | public function setOutputIndices($outputIndices)
|
---|
| 72 | {
|
---|
| 73 | $this->outputIndices = $outputIndices;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @return array[]
|
---|
| 77 | */
|
---|
| 78 | public function getOutputIndices()
|
---|
| 79 | {
|
---|
| 80 | return $this->outputIndices;
|
---|
| 81 | }
|
---|
| 82 | /**
|
---|
| 83 | * @param GoogleCloudAiplatformV1SampledShapleyAttribution
|
---|
| 84 | */
|
---|
| 85 | public function setSampledShapleyAttribution(GoogleCloudAiplatformV1SampledShapleyAttribution $sampledShapleyAttribution)
|
---|
| 86 | {
|
---|
| 87 | $this->sampledShapleyAttribution = $sampledShapleyAttribution;
|
---|
| 88 | }
|
---|
| 89 | /**
|
---|
| 90 | * @return GoogleCloudAiplatformV1SampledShapleyAttribution
|
---|
| 91 | */
|
---|
| 92 | public function getSampledShapleyAttribution()
|
---|
| 93 | {
|
---|
| 94 | return $this->sampledShapleyAttribution;
|
---|
| 95 | }
|
---|
| 96 | /**
|
---|
| 97 | * @param int
|
---|
| 98 | */
|
---|
| 99 | public function setTopK($topK)
|
---|
| 100 | {
|
---|
| 101 | $this->topK = $topK;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @return int
|
---|
| 105 | */
|
---|
| 106 | public function getTopK()
|
---|
| 107 | {
|
---|
| 108 | return $this->topK;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @param GoogleCloudAiplatformV1XraiAttribution
|
---|
| 112 | */
|
---|
| 113 | public function setXraiAttribution(GoogleCloudAiplatformV1XraiAttribution $xraiAttribution)
|
---|
| 114 | {
|
---|
| 115 | $this->xraiAttribution = $xraiAttribution;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @return GoogleCloudAiplatformV1XraiAttribution
|
---|
| 119 | */
|
---|
| 120 | public function getXraiAttribution()
|
---|
| 121 | {
|
---|
| 122 | return $this->xraiAttribution;
|
---|
| 123 | }
|
---|
| 124 | }
|
---|
| 125 |
|
---|
| 126 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 127 | class_alias(GoogleCloudAiplatformV1ExplanationParameters::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ExplanationParameters');
|
---|