[mlpack-git] master: refine comments (6ec2a93)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Mon Nov 30 10:40:05 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/5aaf0e441dd64a5de9a0210aa7a837eecf162d12...e4519fc42a2a340cf0387ab082bf49b9715c871b
>---------------------------------------------------------------
commit 6ec2a932d46aff162a12f57bd4d6ade0112a6045
Author: stereomatchingkiss <stereomatchingkiss at gmail.com>
Date: Wed Oct 28 15:19:22 2015 +0800
refine comments
>---------------------------------------------------------------
6ec2a932d46aff162a12f57bd4d6ade0112a6045
src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp b/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp
index 7404328..cfa7926 100644
--- a/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp
+++ b/src/mlpack/methods/sparse_autoencoder/maximal_inputs.hpp
@@ -14,7 +14,7 @@ namespace nn {
* http://deeplearning.stanford.edu/wiki/index.php/Exercise:Sparse_Autoencoder
* @param params The parameters want to maximize
* @param output Parameters after maximize
- * @pre The layout of the parameters should be same as following
+ * @pre 1 : The layout of the parameters should be same as following
* // vSize 1
* // | | |
* // hSize| w1 |b1|
@@ -24,6 +24,7 @@ namespace nn {
* // |________|__|
* // 1| b2' | |
*
+ * 2 : Square root of vSize must be interger and bigger than zero
* @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