17 #include <raft/core/device_coo_matrix.hpp>
18 #include <raft/core/device_mdspan.hpp>
19 #include <raft/core/resources.hpp>
53 raft::device_matrix_view<float, int, raft::row_major> dataset,
54 raft::device_matrix_view<float, int, raft::col_major> embedding);
58 raft::device_coo_matrix_view<float, int, int, int> connectivity_graph,
59 raft::device_matrix_view<float, int, raft::col_major> embedding);
63 raft::device_vector_view<int, int> rows,
64 raft::device_vector_view<int, int> cols,
65 raft::device_vector_view<float, int> vals,
66 raft::device_matrix_view<float, int, raft::col_major> embedding);
Definition: spectral_embedding.hpp:27
cuvs::preprocessing::spectral_embedding::params to_cuvs(ML::SpectralEmbedding::params &config)
void transform(raft::resources const &handle, ML::SpectralEmbedding::params config, raft::device_matrix_view< float, int, raft::row_major > dataset, raft::device_matrix_view< float, int, raft::col_major > embedding)
Definition: spectral_embedding.hpp:21
Parameters for spectral embedding algorithm.
Definition: spectral_embedding.hpp:32
bool norm_laplacian
Whether to normalize the Laplacian matrix.
Definition: spectral_embedding.hpp:40
int n_neighbors
The number of neighbors to use for the nearest neighbors graph.
Definition: spectral_embedding.hpp:37
bool drop_first
Whether to drop the first eigenvector.
Definition: spectral_embedding.hpp:43
int n_components
The number of components to reduce the data to.
Definition: spectral_embedding.hpp:34
uint64_t seed
Random seed for reproducibility.
Definition: spectral_embedding.hpp:46