Description Usage Arguments Value Author(s) References See Also Examples
A CF class object constructor. This function can perform two procedures: If Data is a data frame, style: User Id - Item Id - Ratings, it creates and builds an FC class object from the data frame, containing a Utility Matrix, a User Similarity Matrix, an Item Similarity Matrix, a vector with the number of user ratings, a vector with the number of ratings received for the items, a vector with the average ratings of each user and another vector with the average ratings received from each item. If Data is the Utility Matrix, it also constructs all matrices and vectors. When building the object, the progress percentage is shown. Step 1: Building the MU and vectors. Step 2: Building the SU. Step 3: Building the SI.
1 | CFbuilder(Data, sim_user, sim_item)
|
Data |
A data frame by style: User ID - Item ID - Ratings, or a Utility Matrix. |
sim_user |
A methodology used to estimate the rating by users similarity. Can be 'cos','pearson','both' or 'none'. If it equals 'cos', the SU1 will be built. If it equals 'pearson', the SU2 will be built. If it equals 'both', the SU1 and SU2 will be built. If it equals 'none', nothing will be built. |
sim_item |
A methodology used to estimate the rating by itens similarity. Can be 'cos','adjcos','both' or 'none'. If it equals 'cos', the SI1 will be built. If it equals 'adjcos', the SI2 will be built. If it equals 'both', the SI1 and SI2 will be built. If it equals 'none', nothing will be built. |
a CF class object.
Thiago Lima, Jessica Kubrusly.
LINDEN, G.; SMITH, B.; YORK, J. Amazon. com recommendations: Item-to-item collaborative filtering. Internet Computing, IEEE, v. 7, n. 1, p. 76-80,2003
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.