Learn R Programming

jrSiCKLSNMF (version 1.2.3)

SetWandHfromWHinitials: Set \(\mathbf{W}\) matrices and \(\mathbf{H}\) matrix from pre-calculated values

Description

Use values calculated in the step to determine number of latent factors in the initial steps for the jrSiCKLSNMF algorithm. If only a subset was calculated, this produces an error. In this case, please use GenerateWmatricesandHmatrix to generate new \(\mathbf{W}^v\) matrices and a new \(\mathbf{H}\) matrix.

Usage

SetWandHfromWHinitials(SickleJr, d)

Value

An object of class SickleJr with the Wlist slot and the H slot filled from pre-calculated values.

Arguments

SickleJr

An object of class SickleJr

d

The number of desired latent factors

Examples

Run this code
SimSickleJrSmall<-SetWandHfromWHinitials(SimSickleJrSmall,d=5)

Run the code above in your browser using DataLab