mlpack 3.4.2
Loading...
Searching...
No Matches
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
17namespace mlpack {
18namespace nn {
19
82void MaximalInputs(const arma::mat& parameters, arma::mat& output);
83
91void NormalizeColByMax(const arma::mat& input, arma::mat& output);
92
93} // namespace nn
94} // namespace mlpack
95
96#endif
void MaximalInputs(const arma::mat &parameters, arma::mat &output)
Given a parameters matrix from an autoencoder, maximize the hidden units of the parameters,...
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.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.