adrtod / rfastfm

R interface to the fastFM library
https://adrtod.github.io/rfastfm
3 stars 1 forks source link
factorization-machines fastfm machine-learning matrix-factorization r recommender-system

rfastfm

Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Travis-CI Build Status CRAN_Status_Badge CRAN RStudio mirror downloads

Interface to the fastFM library.

Work in progress

Installation

System requirements: libopenblas-dev

sudo apt-get install libopenblas-dev

You can install rfastfm from github with:

if (!require("devtools"))
  install.packages("devtools")
install_dir <- file.path(tempdir(), "rfastfm")
system(paste("git clone --recursive", shQuote("https://github.com/adrtod/rfastfm.git"), shQuote(install_dir)))
devtools::install(install_dir)

Example

This is a basic example which shows you how to solve a common problem:

## basic example code