---
name: "mlpack_amf_SVDIncompleteIncrementalLearning"
section: "3"
platform: "linux"
package: "mlpack-doc"
version: "1.0.10-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlpack_amf_SVDIncompleteIncrementalLearning"
---

# mlpack\_amf\_SVDIncompleteIncrementalLearning(3)

## NAME

mlpack::amf::SVDIncompleteIncrementalLearning -

## SYNOPSIS

### Public Member Functions

**SVDIncompleteIncrementalLearning** (double **u**=0.001, double **kw**=0, double **kh**=0)\
 template\<typename MatType \> void **HUpdate** (const MatType &V, const arma::mat &W, arma::mat &H)\
 *The update rule for the encoding matrix H.*  template\<typename MatType \> void **Initialize** (const MatType &dataset, const size\_t rank)\
 template\<typename MatType \> void **WUpdate** (const MatType &V, arma::mat &W, const arma::mat &H)\
 *The update rule for the basis matrix W.*

### Private Attributes

size\_t **currentUserIndex**\
 double **kh**\
 double **kw**\
 size\_t **m**\
 size\_t **n**\
 double **u**\

## Detailed Description

Definition at line 8 of file svd\_incomplete\_incremental\_learning.hpp.

## Constructor & Destructor Documentation

### mlpack::amf::SVDIncompleteIncrementalLearning::SVDIncompleteIncrementalLearning (doubleu = `0.001`, doublekw = `0`, doublekh = `0`)` [inline]`

Definition at line 11 of file svd\_incomplete\_incremental\_learning.hpp.

## Member Function Documentation

### template\<typename MatType \> void mlpack::amf::SVDIncompleteIncrementalLearning::HUpdate (const MatType &V, const arma::mat &W, arma::mat &H)` [inline]`

The update rule for the encoding matrix H. The function takes in all the matrices and only changes the value of the H matrix.

**Parameters:**

*V* Input matrix to be factorized. \
 *W* Basis matrix. \
 *H* Encoding matrix to be updated.

Definition at line 81 of file svd\_incomplete\_incremental\_learning.hpp.

References currentUserIndex, kh, m, n, and u.

### template\<typename MatType \> void mlpack::amf::SVDIncompleteIncrementalLearning::Initialize (const MatType &dataset, const size\_trank)` [inline]`

Definition at line 18 of file svd\_incomplete\_incremental\_learning.hpp.

References currentUserIndex, m, and n.

### template\<typename MatType \> void mlpack::amf::SVDIncompleteIncrementalLearning::WUpdate (const MatType &V, arma::mat &W, const arma::mat &H)` [inline]`

The update rule for the basis matrix W. The function takes in all the matrices and only changes the value of the W matrix.

**Parameters:**

*V* Input matrix to be factorized. \
 *W* Basis matrix to be updated. \
 *H* Encoding matrix.

This file is part of MLPACK 1.0.10.

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 at line 53 of file svd\_incomplete\_incremental\_learning.hpp.

References currentUserIndex, kw, n, and u.

## Member Data Documentation

### size\_t mlpack::amf::SVDIncompleteIncrementalLearning::currentUserIndex` [private]`

Definition at line 109 of file svd\_incomplete\_incremental\_learning.hpp.

Referenced by HUpdate(), Initialize(), and WUpdate().

### double mlpack::amf::SVDIncompleteIncrementalLearning::kh` [private]`

Definition at line 104 of file svd\_incomplete\_incremental\_learning.hpp.

Referenced by HUpdate().

### double mlpack::amf::SVDIncompleteIncrementalLearning::kw` [private]`

Definition at line 103 of file svd\_incomplete\_incremental\_learning.hpp.

Referenced by WUpdate().

### size\_t mlpack::amf::SVDIncompleteIncrementalLearning::m` [private]`

Definition at line 107 of file svd\_incomplete\_incremental\_learning.hpp.

Referenced by HUpdate(), and Initialize().

### size\_t mlpack::amf::SVDIncompleteIncrementalLearning::n` [private]`

Definition at line 106 of file svd\_incomplete\_incremental\_learning.hpp.

Referenced by HUpdate(), Initialize(), and WUpdate().

### double mlpack::amf::SVDIncompleteIncrementalLearning::u` [private]`

Definition at line 102 of file svd\_incomplete\_incremental\_learning.hpp.

Referenced by HUpdate(), and WUpdate().

## Author

Generated automatically by Doxygen for MLPACK from the source code.
