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
Afficher le fichier Open project: zenogantner/MML-KDD

Méthodes publiques

Méthode Description
IterateMapping ( ) : void
LearnAttributeToFactorMapping ( ) : void
ToString ( ) : string

Méthodes protégées

Méthode 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 méthode

public IterateMapping ( ) : void
Résultat void

LearnAttributeToFactorMapping() public méthode

public LearnAttributeToFactorMapping ( ) : void
Résultat void

MapToLatentFactorSpace() protected méthode

protected MapToLatentFactorSpace ( int item_id ) : double[]
item_id int
Résultat double[]

ToString() public méthode

public ToString ( ) : string
Résultat string

UpdateMappingFactors() protected méthode

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
Résultat void

__MapToLatentFactorSpace() protected méthode

protected __MapToLatentFactorSpace ( int item_id ) : double[]
item_id int
Résultat double[]