19 #include <cumlprims/opg/matrix/data.hpp>
20 #include <cumlprims/opg/matrix/part_descriptor.hpp>
21 #include <raft/core/handle.hpp>
40 std::vector<MLCommon::Matrix::Data<float>*>& input_data,
41 MLCommon::Matrix::PartDescriptor& input_desc,
43 std::size_t n_components,
44 cudaStream_t* streams,
45 std::uint32_t n_stream);
48 std::vector<MLCommon::Matrix::Data<double>*>& input_data,
49 MLCommon::Matrix::PartDescriptor& input_desc,
51 std::size_t n_components,
52 cudaStream_t* streams,
53 std::uint32_t n_stream);
void sign_flip(raft::handle_t &handle, std::vector< MLCommon::Matrix::Data< float > * > &input_data, MLCommon::Matrix::PartDescriptor &input_desc, float *components, std::size_t n_components, cudaStream_t *streams, std::uint32_t n_stream)
sign flip for PCA and tSVD. This is used to stabilize the sign of column major eigen vectors
Definition: dbscan.hpp:30
@ PCA
Definition: tsne.h:31