C# Class MyMediaLite.ItemRecommendation.WRMF

Weighted matrix factorization method proposed by Hu et al. and Pan et al.

We use the fast learning method proposed by Hu et al. (alternating least squares, ALS), and we use a global parameter to give observed values higher weights.

Literature: Y. Hu, Y. Koren, C. Volinsky: Collaborative filtering for implicit feedback datasets. ICDM 2008. http://research.yahoo.net/files/HuKorenVolinsky-ICDM08.pdf R. Pan, Y. Zhou, B. Cao, N. N. Liu, R. M. Lukose, M. Scholz, Q. Yang: One-class collaborative filtering, ICDM 2008. http://www.hpl.hp.com/techreports/2008/HPL-2008-48R1.pdf

This recommender does NOT support incremental updates.

Inheritance: MF
Exibir arquivo Open project: zenogantner/MML-KDD Class Usage Examples

Public Methods

Method Description
ComputeFit ( ) : double
Iterate ( ) : void
ToString ( ) : string

Protected Methods

Method Description
Optimize ( IBooleanMatrix data, Matrix W, Matrix H ) : void

Optimizes the specified data

Method Details

ComputeFit() public method

public ComputeFit ( ) : double
return double

Iterate() public method

public Iterate ( ) : void
return void

Optimize() protected method

Optimizes the specified data
protected Optimize ( IBooleanMatrix data, Matrix W, Matrix H ) : void
data IBooleanMatrix data
W Matrix W
H Matrix H
return void

ToString() public method

public ToString ( ) : string
return string