mlpack 3.4.2
quic_svd.hpp
Go to the documentation of this file.
1
12#ifndef MLPACK_METHODS_QUIC_SVD_QUIC_SVD_HPP
13#define MLPACK_METHODS_QUIC_SVD_QUIC_SVD_HPP
14
15#include <mlpack/prereqs.hpp>
17
18namespace mlpack {
19namespace svd {
20
54{
55 public:
70 QUIC_SVD(const arma::mat& dataset,
71 arma::mat& u,
72 arma::mat& v,
73 arma::mat& sigma,
74 const double epsilon = 0.03,
75 const double delta = 0.1);
76
85 void ExtractSVD(arma::mat& u, arma::mat& v, arma::mat& sigma);
86
87 private:
89 const arma::mat& dataset;
91 arma::mat basis;
92};
93
94} // namespace svd
95} // namespace mlpack
96
97#endif
QUIC-SVD is a matrix factorization technique, which operates in a subspace such that A's approximatio...
Definition: quic_svd.hpp:54
void ExtractSVD(arma::mat &u, arma::mat &v, arma::mat &sigma)
This function uses the vector subspace created using a cosine tree to calculate an approximate SVD of...
QUIC_SVD(const arma::mat &dataset, arma::mat &u, arma::mat &v, arma::mat &sigma, const double epsilon=0.03, const double delta=0.1)
Constructor which implements the QUIC-SVD algorithm.
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.