13 #ifndef MLPACK_METHODS_BLOCK_KRYLOV_SVD_RANDOMIZED_BLOCK_KRYLOV_SVD_HPP 14 #define MLPACK_METHODS_BLOCK_KRYLOV_SVD_RANDOMIZED_BLOCK_KRYLOV_SVD_HPP 77 const size_t maxIterations = 2,
78 const size_t rank = 0,
79 const size_t blockSize = 0);
89 const size_t blockSize = 0);
101 void Apply(
const arma::mat& data,
119 size_t maxIterations;
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
void Apply(const arma::mat &data, arma::mat &u, arma::vec &s, arma::mat &v, const size_t rank)
Apply Principal Component Analysis to the provided data set using the randomized block krylov SVD...
Definition: randomized_block_krylov_svd.cpp:46
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t MaxIterations() const
Get the number of iterations for the power method.
Definition: randomized_block_krylov_svd.hpp:108
Randomized block krylov SVD is a matrix factorization that is based on randomized matrix approximatio...
Definition: randomized_block_krylov_svd.hpp:58
size_t & BlockSize()
Modify the block size.
Definition: randomized_block_krylov_svd.hpp:115
size_t & MaxIterations()
Modify the number of iterations for the power method.
Definition: randomized_block_krylov_svd.hpp:110
size_t BlockSize() const
Get the block size.
Definition: randomized_block_krylov_svd.hpp:113
RandomizedBlockKrylovSVD(const arma::mat &data, arma::mat &u, arma::vec &s, arma::mat &v, const size_t maxIterations=2, const size_t rank=0, const size_t blockSize=0)
Create object for the randomized block krylov SVD method.
Definition: randomized_block_krylov_svd.cpp:18