14 #ifndef _MLPACK_METHOS_PERCEPTRON_INITIALIZATION_METHODS_RANDOM_INIT_HPP
15 #define _MLPACK_METHOS_PERCEPTRON_INITIALIZATION_METHODS_RANDOM_INIT_HPP
20 namespace perceptron {
35 W = arma::randu<arma::mat>(row, col);
Linear algebra utility functions, generally performed on matrices or vectors.
static void Initialize(arma::mat &W, const size_t row, const size_t col)
This class is used to initialize weights for the weightVectors matrix in a random manner...