C# Class MyMediaLite.AttrToFactor.BPRMF_ItemMapping_Optimal

item attribute to latent factor mapping, optimized for BPR loss
Literature: Zeno Gantner, Lucas Drumond, Christoph Freudenthaler, Steffen Rendle, Lars Schmidt-Thieme: Learning Attribute-to-Feature Mappings for Cold-Start Recommendations. ICDM 2011. http://www.ismll.uni-hildesheim.de/pub/pdfs/Gantner_et_al2010Mapping.pdf This recommender does NOT support incremental updates.
Inheritance: BPRMF_ItemMapping
显示文件 Open project: zenogantner/MML-KDD

Public Methods

Method Description
IterateMapping ( ) : void
LearnAttributeToFactorMapping ( ) : void
ToString ( ) : string

Protected Methods

Method Description
MapToLatentFactorSpace ( int item_id ) : double[]
UpdateMappingFactors ( int u, int i, int j ) : void

update the mapping factors for a given user and an item pair

__MapToLatentFactorSpace ( int item_id ) : double[]

Method Details

IterateMapping() public method

public IterateMapping ( ) : void
return void

LearnAttributeToFactorMapping() public method

public LearnAttributeToFactorMapping ( ) : void
return void

MapToLatentFactorSpace() protected method

protected MapToLatentFactorSpace ( int item_id ) : double[]
item_id int
return double[]

ToString() public method

public ToString ( ) : string
return string

UpdateMappingFactors() protected method

update the mapping factors for a given user and an item pair
protected UpdateMappingFactors ( int u, int i, int j ) : void
u int the user ID
i int the first item ID
j int the second item ID
return void

__MapToLatentFactorSpace() protected method

protected __MapToLatentFactorSpace ( int item_id ) : double[]
item_id int
return double[]