Go to the source code of this file.
|
| bnmf_algs |
| Main namespace for bnmf-algs library.
|
|
| bnmf_algs::nmf |
| Namespace that contains solver and auxiliary functions for computing Nonnegative Matrix Factorization (NMF) of a matrix..
|
|
|
template<typename T , typename Real > |
std::pair< matrix_t< T >, matrix_t< T > > | bnmf_algs::nmf::nmf (const matrix_t< T > &X, size_t r, Real beta, size_t max_iter=1000) |
| Compute nonnegative matrix factorization of a matrix. More...
|
|
template<typename Real > |
Real | bnmf_algs::nmf::beta_divergence (Real x, Real y, Real beta, double eps=1e-50) |
| Compute the \(\beta\)-divergence as defined in [3]. More...
|
|
template<typename Tensor > |
Tensor::value_type | bnmf_algs::nmf::beta_divergence (const Tensor &X, const Tensor &Y, typename Tensor::value_type beta, double eps=1e-50) |
| Return \(\beta\)-divergence between two tensor-like objects as defined in bnmf_algs::vector_t , bnmf_algs::matrix_t , bnmf_algs::tensor_t. More...
|
|
template<typename InputIterator1 , typename InputIterator2 > |
auto | bnmf_algs::nmf::beta_divergence_seq (InputIterator1 first_begin, InputIterator1 first_end, InputIterator2 second_begin, decltype(*first_begin) beta, double eps=1e-50) |
| Compute the \(\beta\)-divergence as defined in [3]. More...
|
|