22 #ifndef _MLPACK_METHOS_PERCEPTRON_INITIALIZATION_METHODS_ZERO_INIT_HPP 23 #define _MLPACK_METHOS_PERCEPTRON_INITIALIZATION_METHODS_ZERO_INIT_HPP 28 namespace perceptron {
42 arma::mat tempWeights(row, col);
43 tempWeights.fill(0.0);
Linear algebra utility functions, generally performed on matrices or vectors.
This class is used to initialize the matrix weightVectors to zero.
static void Initialize(arma::mat &W, const size_t row, const size_t col)