Home
libcuml
cucim
cudf-java
cudf
cugraph
cuml
cuproj
cuspatial
cuvs
cuxfilter
dask-cuda
dask-cudf
kvikio
libcudf
libcuml
libcuproj
libcuspatial
libkvikio
libucxx
raft
rapids-cmake
rmm
nightly (24.12)
nightly (24.12)
stable (24.10)
legacy (24.08)
include
cuml
explainer
kernel_shap.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020-2021, NVIDIA CORPORATION.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#pragma once
18
19
#include <cstdint>
20
21
namespace
raft
{
22
class
handle_t;
23
}
24
25
namespace
ML
{
26
namespace
Explainer {
27
79
void
kernel_dataset
(
const
raft::handle_t& handle,
80
float
* X,
81
int
nrows_X,
82
int
ncols,
83
float
* background,
84
int
nrows_background,
85
float
* dataset,
86
float
* observation,
87
int
* nsamples,
88
int
len_nsamples,
89
int
maxsample,
90
uint64_t seed = 0ULL);
91
92
void
kernel_dataset
(
const
raft::handle_t& handle,
93
float
* X,
94
int
nrows_X,
95
int
ncols,
96
double
* background,
97
int
nrows_background,
98
double
* dataset,
99
double
* observation,
100
int
* nsamples,
101
int
len_nsamples,
102
int
maxsample,
103
uint64_t seed = 0ULL);
104
105
}
// namespace Explainer
106
}
// namespace ML
ML::Explainer::kernel_dataset
void kernel_dataset(const raft::handle_t &handle, float *X, int nrows_X, int ncols, float *background, int nrows_background, float *dataset, float *observation, int *nsamples, int len_nsamples, int maxsample, uint64_t seed=0ULL)
ML
Definition:
dbscan.hpp:30
raft
Definition:
dbscan.hpp:26
Generated by
1.9.1