---
name: "mlpack_sparse_coding"
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/3"
---

# mlpack\_sparse\_coding(3)

## NAME

mlpack::sparse\_coding -

## SYNOPSIS

### Classes

class **DataDependentRandomInitializer**\
 *A data-dependent random dictionary initializer for* **SparseCoding***.*  class **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()***.*  class **RandomInitializer**\
 *A DictionaryInitializer for use with the* **SparseCoding** *class.*  class **SparseCoding**\
 *An implementation of Sparse Coding with Dictionary Learning that achieves sparsity via an l1-norm regularizer on the codes (LASSO) or an (l1+l2)-norm regularizer on the codes (the Elastic Net).*

## Author

Generated automatically by Doxygen for MLPACK from the source code.
