mlpack  master
Static Public Member Functions | List of all members
mlpack::sparse_coding::NothingInitializer Class Reference

A DictionaryInitializer for SparseCoding which does not initialize anything; it is useful for when the dictionary is already known and will be set with SparseCoding::Dictionary(). More...

Static Public Member Functions

static void Initialize (const arma::mat &, const size_t, arma::mat &)
 This function does not initialize the dictionary. More...
 

Detailed Description

A DictionaryInitializer for SparseCoding which does not initialize anything; it is useful for when the dictionary is already known and will be set with SparseCoding::Dictionary().

Definition at line 27 of file nothing_initializer.hpp.

Member Function Documentation

static void mlpack::sparse_coding::NothingInitializer::Initialize ( const arma::mat &  ,
const size_t  ,
arma::mat &   
)
inlinestatic

This function does not initialize the dictionary.

This will cause problems for SparseCoding if the dictionary is not set manually before running the method.

Definition at line 35 of file nothing_initializer.hpp.


The documentation for this class was generated from the following file: