22 #ifndef __MLPACK_METHODS_SPARSE_AUTOENCODER_SPARSE_AUTOENCODER_HPP
23 #define __MLPACK_METHODS_SPARSE_AUTOENCODER_SPARSE_AUTOENCODER_HPP
97 const double lambda = 0.0001,
98 const double beta = 3,
99 const double rho = 0.01);
128 void Sigmoid(
const arma::mat& x, arma::mat& output)
const
130 output = (1.0 / (1 + arma::exp(-x)));
136 this->visibleSize = visible;
148 this->hiddenSize = hidden;
212 #include "sparse_autoencoder_impl.hpp"