Home
libcuml
cucim
cudf-java
cudf
cugraph
cuml
cuproj
cuspatial
cuvs
cuxfilter
dask-cuda
dask-cudf
kvikio
libcudf
libcuml
libcuproj
libcuspatial
libkvikio
librapidsmpf
librmm
libucxx
raft
rapids-cmake
rapidsmpf
rmm
ucxx
nightly (26.02)
nightly (26.02)
stable (25.12)
legacy (25.10)
src
decisiontree
batched-levelalgo
dataset.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2019-2022, NVIDIA CORPORATION.
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#pragma once
7
8
namespace
ML
{
9
namespace
DT {
10
11
template
<
typename
DataT,
typename
LabelT,
typename
IdxT>
12
struct
Dataset
{
14
const
DataT*
data
;
16
const
LabelT*
labels
;
18
IdxT
M
;
20
IdxT
N
;
22
IdxT
n_sampled_rows
;
24
IdxT
n_sampled_cols
;
26
IdxT*
row_ids
;
28
IdxT
num_outputs
;
29
};
30
31
}
// namespace DT
32
}
// namespace ML
ML
Definition:
dbscan.hpp:18
ML::DT::Dataset
Definition:
dataset.h:12
ML::DT::Dataset::row_ids
IdxT * row_ids
Definition:
dataset.h:26
ML::DT::Dataset::N
IdxT N
Definition:
dataset.h:20
ML::DT::Dataset::n_sampled_cols
IdxT n_sampled_cols
Definition:
dataset.h:24
ML::DT::Dataset::num_outputs
IdxT num_outputs
Definition:
dataset.h:28
ML::DT::Dataset::data
const DataT * data
Definition:
dataset.h:14
ML::DT::Dataset::M
IdxT M
Definition:
dataset.h:18
ML::DT::Dataset::n_sampled_rows
IdxT n_sampled_rows
Definition:
dataset.h:22
ML::DT::Dataset::labels
const LabelT * labels
Definition:
dataset.h:16
Generated by
1.9.1