C# Class MyMediaLite.RatingPrediction.FactorWiseMatrixFactorization

Matrix factorization with factor-wise learning
Robert Bell, Yehuda Koren, Chris Volinsky: Modeling Relationships at Multiple Scales to Improve Accuracy of Large Recommender Systems, ACM Int. Conference on Knowledge Discovery and Data Mining (KDD'07), 2007. This recommender does NOT support incremental updates.
Inheritance: RatingPredictor, IIterativeModel
Mostra file Open project: zenogantner/MML-KDD

Public Methods

Method Description
ComputeFit ( ) : double
FactorWiseMatrixFactorization ( ) : System

Default constructor

Iterate ( ) : void
LoadModel ( string filename ) : void
Predict ( int user_id, int item_id ) : double

Predict the rating of a given user for a given item

If the user or the item are not known to the recommender, the global effects prediction is returned. To avoid this behavior for unknown entities, use CanPredict() to check before.

SaveModel ( string filename ) : void
ToString ( ) : string
Train ( ) : void

Method Details

ComputeFit() public method

public ComputeFit ( ) : double
return double

FactorWiseMatrixFactorization() public method

Default constructor
public FactorWiseMatrixFactorization ( ) : System
return System

Iterate() public method

public Iterate ( ) : void
return void

LoadModel() public method

public LoadModel ( string filename ) : void
filename string
return void

Predict() public method

Predict the rating of a given user for a given item
If the user or the item are not known to the recommender, the global effects prediction is returned. To avoid this behavior for unknown entities, use CanPredict() to check before.
public Predict ( int user_id, int item_id ) : double
user_id int the user ID
item_id int the item ID
return double

SaveModel() public method

public SaveModel ( string filename ) : void
filename string
return void

ToString() public method

public ToString ( ) : string
return string

Train() public method

public Train ( ) : void
return void