---
name: "mlpack_sparse_coding_NothingInitializer"
section: "3"
platform: "linux"
package: "mlpack-doc"
version: "1.0.10-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlpack_sparse_coding_NothingInitializer"
---

# mlpack\_sparse\_coding\_NothingInitializer(3)

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

## NAME

mlpack::sparse\_coding::NothingInitializer -

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

## SYNOPSIS

### Static Public Member Functions

static void **Initialize** (const arma::mat &, const size\_t, arma::mat &)\
 *This function does not initialize the dictionary.*

## 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 37 of file nothing\_initializer.hpp.

## Member Function Documentation

### static void mlpack::sparse\_coding::NothingInitializer::Initialize (const arma::mat &, const size\_t, arma::mat &)` [inline]`, ` [static]`

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 45 of file nothing\_initializer.hpp.

## Author

Generated automatically by Doxygen for MLPACK from the source code.
