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.
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.
The core includes that mlpack expects; standard C++ includes and Armadillo.
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...
size_t & BlockSize()
Modify the block size.
size_t & MaxIterations()
Modify the number of iterations for the power method.
Randomized block krylov SVD is a matrix factorization that is based on randomized matrix approximatio...
size_t MaxIterations() const
Get the number of iterations for the power method.
size_t BlockSize() const
Get the block size.