[mlpack-git] master: add example (c4a2e5a)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Mon Nov 30 10:39:59 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/5aaf0e441dd64a5de9a0210aa7a837eecf162d12...e4519fc42a2a340cf0387ab082bf49b9715c871b
>---------------------------------------------------------------
commit c4a2e5a07d7761ef5ee1de3560d51fb12479e91d
Author: stereomatchingkiss <stereomatchingkiss at gmail.com>
Date: Tue Oct 27 17:33:59 2015 +0800
add example
>---------------------------------------------------------------
c4a2e5a07d7761ef5ee1de3560d51fb12479e91d
src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp b/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp
index 259071c..c9ddfdc 100644
--- a/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp
+++ b/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp
@@ -11,6 +11,16 @@ namespace nn {
* Maximize the hidden units of the parameters
* @param params The parameters want to maximize
* @param output Parameters after maximize
+ * @pre The layout of the parameters should be same as following
+ * // vSize 1
+ * // | | |
+ * // hSize| w1 |b1|
+ * // |________|__|
+ * // | | |
+ * // hSize| w2' | |
+ * // |________|__|
+ * // 1| b2' | |
+ *
* @code
* arma::mat data; // Data matrix.
* const size_t vSize = 64; // Size of visible layer, depends on the data.
More information about the mlpack-git
mailing list