This initialization rule for AMF simply takes in two initialization rules, and initialize W with the first rule and H with the second rule. More...
Public Member Functions | |
MergeInitialization () | |
MergeInitialization (const WInitializationRuleType &wInitRule, const HInitializationRuleType &hInitRule) | |
template < typename MatType > | |
void | Initialize (const MatType &V, const size_t r, arma::mat &W, arma::mat &H) |
Initialize W and H with the corresponding initialization rules. More... | |
This initialization rule for AMF simply takes in two initialization rules, and initialize W with the first rule and H with the second rule.
Definition at line 27 of file merge_init.hpp.
|
inline |
Definition at line 31 of file merge_init.hpp.
|
inline |
Definition at line 35 of file merge_init.hpp.
|
inline |
Initialize W and H with the corresponding initialization rules.
V | Input matrix. |
r | Rank of decomposition. |
W | W matrix, to be initialized to given matrix. |
H | H matrix, to be initialized to given matrix. |
Definition at line 50 of file merge_init.hpp.