This class is used to initialize weights for the weightVectors matrix in a random manner. More...

Public Member Functions

 RandomInitialization ()
 

Static Public Member Functions

static void Initialize (arma::mat &weights, arma::vec &biases, const size_t numFeatures, const size_t numClasses)
 

Detailed Description

This class is used to initialize weights for the weightVectors matrix in a random manner.

Definition at line 24 of file random_init.hpp.

Constructor & Destructor Documentation

◆ RandomInitialization()

Definition at line 27 of file random_init.hpp.

Member Function Documentation

◆ Initialize()

static void Initialize ( arma::mat &  weights,
arma::vec &  biases,
const size_t  numFeatures,
const size_t  numClasses 
)
inlinestatic

Definition at line 29 of file random_init.hpp.


The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/methods/perceptron/initialization_methods/random_init.hpp