dbscan_api.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-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 #pragma once
17 
18 #include <cuml/cuml_api.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
47  float* input,
48  int n_rows,
49  int n_cols,
50  float eps,
51  int min_pts,
52  int* labels,
53  int* core_sample_indices,
54  size_t max_bytes_per_batch,
55  int verbosity);
56 
58  double* input,
59  int n_rows,
60  int n_cols,
61  double eps,
62  int min_pts,
63  int* labels,
64  int* core_sample_indices,
65  size_t max_bytes_per_batch,
66  int verbosity);
69 #ifdef __cplusplus
70 }
71 #endif
int cumlHandle_t
Definition: cuml_api.h:37
cumlError_t
Definition: cuml_api.h:39
cumlError_t cumlDpDbscanFit(cumlHandle_t handle, double *input, int n_rows, int n_cols, double eps, int min_pts, int *labels, int *core_sample_indices, size_t max_bytes_per_batch, int verbosity)
Definition: dbscan_api.cpp:68
cumlError_t cumlSpDbscanFit(cumlHandle_t handle, float *input, int n_rows, int n_cols, float eps, int min_pts, int *labels, int *core_sample_indices, size_t max_bytes_per_batch, int verbosity)
Definition: dbscan_api.cpp:25