MLPACK
1.0.10
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
mlpack
methods
sparse_coding
nothing_initializer.hpp
Go to the documentation of this file.
1
24
#ifndef __MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
25
#define __MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
26
27
#include <
mlpack/core.hpp
>
28
29
namespace
mlpack {
30
namespace
sparse_coding {
31
37
class
NothingInitializer
38
{
39
public
:
45
static
void
Initialize
(
const
arma::mat&
/* data */
,
46
const
size_t
/* atoms */
,
47
arma::mat&
/* dictionary */
)
48
{
49
// Do nothing!
50
}
51
};
52
53
};
// namespace sparse_coding
54
};
// namespace mlpack
55
56
#endif
mlpack::sparse_coding::NothingInitializer
A DictionaryInitializer for SparseCoding which does not initialize anything; it is useful for when th...
Definition:
nothing_initializer.hpp:37
mlpack::sparse_coding::NothingInitializer::Initialize
static void Initialize(const arma::mat &, const size_t, arma::mat &)
This function does not initialize the dictionary.
Definition:
nothing_initializer.hpp:45
core.hpp
Generated by
1.8.6