Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict

Generate predictions.


Description

Generate predictions on any of the previously trained models.

Arguments

model

A previously trained model, see rrecsys

Round

object of class "logical", if TRUE all the predictions are rounded to integer values, else values are returned as calculated.

Value

All unrated items are predicted and the entire matrix is returned with the new ratings.

See Also

Examples

data("mlLatest100k")

smallMl <- mlLatest100k[1:50, 1:100]

exExpl <- defineData(smallMl)

model1exp <- rrecsys(exExpl, alg = "funk", k = 10, learningRate = 0.01, regCoef = 0.001)

pre1 <- predict(model1exp, Round = TRUE)

rrecsys

Environment for Evaluating Recommender Systems

v0.9.7.3.1
GPL-3
Authors
Ludovik Çoba [aut, cre, cph], Markus Zanker [ctb], Panagiotis Symeonidis [ctb]
Initial release
2018-02-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.