This class is used to initialize the weight matrix with the method proposed by T. More...
Public Member Functions | |
template < typename eT > | |
KathirvalavakumarSubavathiInitialization (const arma::Mat< eT > &data, const double s) | |
Initialize the random initialization rule with the given values. More... | |
template < typename eT > | |
void | Initialize (arma::Mat< eT > &W, const size_t rows, const size_t cols) |
Initialize the elements of the specified weight matrix with the Kathirvalavakumar-Subavathi method. More... | |
template < typename eT > | |
void | Initialize (arma::Mat< eT > &W) |
Initialize the elements of the specified weight matrix with the Kathirvalavakumar-Subavathi method. More... | |
template < typename eT > | |
void | Initialize (arma::Cube< eT > &W, const size_t rows, const size_t cols, const size_t slices) |
Initialize the elements of the specified weight 3rd order tensor with the Kathirvalavakumar-Subavathi method. More... | |
template < typename eT > | |
void | Initialize (arma::Cube< eT > &W) |
Initialize the elements of the specified weight 3rd order tensor with the Kathirvalavakumar-Subavathi method. More... | |
This class is used to initialize the weight matrix with the method proposed by T.
Kathirvalavakumar and S. Subavathi. The method is based on sensitivity analysis using using cauchy’s inequality. The method is defined by
where I is the number of inputs including the bias, p refers the pattern considered in training, f is the transfer function and \={s} is the active region in which the derivative of the activation function is greater than 4% of the maximum derivatives.
Definition at line 60 of file kathirvalavakumar_subavathi_init.hpp.
|
inline |
Initialize the random initialization rule with the given values.
data | The input patterns. |
s | Parameter that defines the active region. |
Definition at line 70 of file kathirvalavakumar_subavathi_init.hpp.
|
inline |
Initialize the elements of the specified weight matrix with the Kathirvalavakumar-Subavathi method.
W | Weight matrix to initialize. |
rows | Number of rows. |
cols | Number of columns. |
Definition at line 85 of file kathirvalavakumar_subavathi_init.hpp.
References RandomInitialization::Initialize().
Referenced by KathirvalavakumarSubavathiInitialization::Initialize().
|
inline |
Initialize the elements of the specified weight matrix with the Kathirvalavakumar-Subavathi method.
W | Weight matrix to initialize. |
Definition at line 100 of file kathirvalavakumar_subavathi_init.hpp.
References RandomInitialization::Initialize().
|
inline |
Initialize the elements of the specified weight 3rd order tensor with the Kathirvalavakumar-Subavathi method.
W | Weight matrix to initialize. |
rows | Number of rows. |
cols | Number of columns. |
slices | Number of slices |
Definition at line 118 of file kathirvalavakumar_subavathi_init.hpp.
References KathirvalavakumarSubavathiInitialization::Initialize().
|
inline |
Initialize the elements of the specified weight 3rd order tensor with the Kathirvalavakumar-Subavathi method.
W | Weight matrix to initialize. |
Definition at line 137 of file kathirvalavakumar_subavathi_init.hpp.
References Log::Fatal, and KathirvalavakumarSubavathiInitialization::Initialize().