recommender-als-0.2.0.0: Recommendations using alternating least squares algorithm

Safe HaskellNone
LanguageHaskell2010

Numeric.Recommender.ALS

Synopsis

Documentation

data ALSParams Source #

Constructors

ALSParams 

Fields

Instances
Show ALSParams Source # 
Instance details

Defined in Numeric.Recommender.ALS

Default ALSParams Source # 
Instance details

Defined in Numeric.Recommender.ALS

Methods

def :: ALSParams #

data ALSModel u i Source #

Constructors

ALSModel 

Fields

buildModel Source #

Arguments

:: (Functor f, Foldable f) 
=> ALSParams 
-> (u -> Int) 
-> (Int -> u) 
-> (i -> Int) 
-> (Int -> i) 
-> f (u, i)

User-item pairs

-> ALSModel u i 

Build recommendations based on users' unrated item choices.

Takes conversion functions to/from Int representation for user supplied data types. Use id if you're already based on them.

The implementation follows the one in the recommenderlab library in CRAN. For further details, see "Large-scale Parallel Collaborative Filtering for the Netflix Prize" by Yunhong Zhou, Dennis Wilkinson, Robert Schreiber and Rong Pan.

recommend Source #

Arguments

:: ALSModel u i 
-> Int

Iterations

-> IntMap [(i, Bool)]