12 #ifndef MLPACK_METHODS_SVDWRAPPER_HPP 13 #define MLPACK_METHODS_SVDWRAPPER_HPP 39 template<
class Factorizer = DummyClass>
44 SVDWrapper(
const Factorizer& factorizer = Factorizer()) :
45 factorizer(factorizer)
61 double Apply(
const arma::mat& V,
75 double Apply(
const arma::mat& V,
82 Factorizer factorizer;
89 #include "svd_wrapper_impl.hpp"
The core includes that mlpack expects; standard C++ includes and Armadillo.
SVDWrapper(const Factorizer &factorizer=Factorizer())
SVDWrapper< DummyClass > ArmaSVDFactorizer
add simple typedefs
This class acts as a dummy class for passing as template parameter.
This class acts as the wrapper for all SVD factorizers which are incompatible with CF module...