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 
18 namespace mlpack {
19 namespace svd {
20 
53 class QUIC_SVD
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
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
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.
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 is a matrix factorization technique, which operates in a subspace such that A&#39;s approximatio...
Definition: quic_svd.hpp:53