mlpack  master
maximal_inputs.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_METHODS_NN_MAXIMAL_INPUTS_HPP
13 #define MLPACK_METHODS_NN_MAXIMAL_INPUTS_HPP
14 
15 #include <mlpack/prereqs.hpp>
16 
17 namespace mlpack {
18 namespace nn {
19 
82 void MaximalInputs(const arma::mat& parameters, arma::mat& output);
83 
91 void NormalizeColByMax(const arma::mat& input, arma::mat& output);
92 
93 } // namespace nn
94 } // namespace mlpack
95 
96 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: binarize.hpp:18
The core includes that mlpack expects; standard C++ includes and Armadillo.
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.
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...