17 #include <raft/core/device_mdspan.hpp>
18 #include <raft/core/resources.hpp>
52 raft::device_matrix_view<float, int, raft::row_major> dataset,
53 raft::device_matrix_view<float, int, raft::col_major> embedding);
Definition: spectral_embedding.hpp:26
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:20
Parameters for spectral embedding algorithm.
Definition: spectral_embedding.hpp:31
bool norm_laplacian
Whether to normalize the Laplacian matrix.
Definition: spectral_embedding.hpp:39
int n_neighbors
The number of neighbors to use for the nearest neighbors graph.
Definition: spectral_embedding.hpp:36
bool drop_first
Whether to drop the first eigenvector.
Definition: spectral_embedding.hpp:42
int n_components
The number of components to reduce the data to.
Definition: spectral_embedding.hpp:33
uint64_t seed
Random seed for reproducibility.
Definition: spectral_embedding.hpp:45