Code for predicting missing elements with an existing CMF model.
The predictions are made for all of the elements specified in the list of
X. The function also returns the root mean square
error (RMSE) between the predicted outputs and the values provided in
A list of sparse matrices specifying the indices for which to
make the predictions.
These matrices must correspond to the structure used for
A list of model parameter values provided by
X needs to be provided as a set of triplets instead of as
a regular matrix. See
A list of
A list of matrices corresponding to predictions for each
A vector containing the root-mean-square error for each matrix separately.
Arto Klami and Lauri Väre
# See CMF-package for an example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.