spectral.hpp
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 
17 #pragma once
18 
19 namespace raft {
20 class handle_t;
21 }
22 
23 namespace ML {
24 
25 namespace Spectral {
26 
41 void fit_embedding(const raft::handle_t& handle,
42  int* rows,
43  int* cols,
44  float* vals,
45  int nnz,
46  int n,
47  int n_components,
48  float* out,
49  unsigned long long seed = 1234567);
50 
51 } // namespace Spectral
52 } // namespace ML
void fit_embedding(const raft::handle_t &handle, int *rows, int *cols, float *vals, int nnz, int n, int n_components, float *out, unsigned long long seed=1234567)
Definition: dbscan.hpp:30
Definition: dbscan.hpp:26