mlpack  2.0.1
maximal_inputs.hpp
Go to the documentation of this file.
1 
14 #ifndef __MLPACK_METHODS_NN_MAXIMAL_INPUTS_HPP
15 #define __MLPACK_METHODS_NN_MAXIMAL_INPUTS_HPP
16 
17 #include <mlpack/core.hpp>
18 
19 namespace mlpack {
20 namespace nn {
21 
84 void MaximalInputs(const arma::mat& parameters, arma::mat& output);
85 
93 void NormalizeColByMax(const arma::mat& input, arma::mat& output);
94 
95 } // namespace nn
96 } // namespace mlpack
97 
98 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
void MaximalInputs(const arma::mat &parameters, arma::mat &output)
Given a parameters matrix from an autoencoder, maximize the hidden units of the parameters, storing the maximal inputs in the given output matrix.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
void NormalizeColByMax(const arma::mat &input, arma::mat &output)
Normalize each column of the input matrix by its maximum value, if that maximum value is not zero...