MLPACK  1.0.7
Classes | Namespaces
als_update_rules.hpp File Reference
Include dependency graph for als_update_rules.hpp:

Go to the source code of this file.

Classes

class  mlpack::nmf::HAlternatingLeastSquaresRule
 The update rule for the encoding matrix H. More...
 
class  mlpack::nmf::WAlternatingLeastSquaresRule
 The update rule for the basis matrix W. More...
 

Namespaces

namespace  mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
namespace  mlpack::nmf
 

Detailed Description

Author
Mohan Rajendran

Update rules for the Non-negative Matrix Factorization. This follows a method titled 'Alternating Least Squares' described in the paper 'Positive Matrix Factorization: A Non-negative Factor Model with Optimal Utilization of Error Estimates of Data Values' by P. Paatero and U. Tapper. It uses least squares projection formula to reduce the error value of $ \sqrt{\sum_i \sum_j(V-WH)^2} $ by alternately calculating W and H respectively while holding the other matrix constant.

This file is part of MLPACK 1.0.7.

MLPACK is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

MLPACK is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details (LICENSE.txt).

You should have received a copy of the GNU General Public License along with MLPACK. If not, see http://www.gnu.org/licenses/.

Definition in file als_update_rules.hpp.