precompute.for.predictions: Precompute matrices to use for predictions

precompute.for.predictionsR Documentation

Precompute matrices to use for predictions

Description

Pre-computes internal matrices which might be used to speed up computations on new data in the CMF and CMF_implicit models. This function does not need to be called when passing 'precompute_for_predictions=TRUE'.

Usage

precompute.for.predictions(model)

Arguments

model

A collective matrix factorization model object, for which the pre-computed matrices will be calculated.

Value

The same model object, with the pre-calculated matrices inside it.


cmfrec documentation built on Nov. 26, 2022, 5:05 p.m.