mlpack
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...

#include <nothing_initializer.hpp>

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().

Member Function Documentation

◆ Initialize()

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.


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