C# Class MyMediaLite.AttrToFactor.BPRMF_UserMapping_Optimal

User attribute to latent factor mapping for BPR-MF, optimized for BPR loss
Inheritance: BPRMF_UserMapping
Exibir arquivo Open project: zenogantner/MML-KDD

Public Methods

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

Protected Methods

Method Description
MapUserToLatentFactorSpace ( ICollection user_attributes ) : double[]
UpdateMappingFactors ( int u, int i, int j ) : void

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

Method Details

IterateMapping() public method

public IterateMapping ( ) : void
return void

LearnAttributeToFactorMapping() public method

public LearnAttributeToFactorMapping ( ) : void
return void

MapUserToLatentFactorSpace() protected method

protected MapUserToLatentFactorSpace ( ICollection user_attributes ) : double[]
user_attributes ICollection
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