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...
|
| | 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...
|
| |
template<typename WInitializationRuleType, typename HInitializationRuleType>
class mlpack::amf::MergeInitialization< WInitializationRuleType, HInitializationRuleType >
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.
| MergeInitialization |
( |
const WInitializationRuleType & |
wInitRule, |
|
|
const HInitializationRuleType & |
hInitRule |
|
) |
| |
|
inline |
| void Initialize |
( |
const MatType & |
V, |
|
|
const size_t |
r, |
|
|
arma::mat & |
W, |
|
|
arma::mat & |
H |
|
) |
| |
|
inline |
Initialize W and H with the corresponding initialization rules.
- Parameters
-
| 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.
The documentation for this class was generated from the following file: