C# Class MyMediaLite.AttrToFactor.BPRMF_ItemMapping_Complex

multi-layer mapping from item attributes to latent factors for BPR-MF
Inheritance: BPRMF_ItemMapping
Mostra file Open project: zenogantner/MML-KDD

Public Properties

Property Type Description
num_hidden_factors int

Public Methods

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

Protected Methods

Method Description
MapToLatentFactorSpace ( int item_id ) : double[]

map to latent factor space (actual function)

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

MapToLatentFactorSpace() protected method

map to latent factor space (actual function)
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

Property Details

num_hidden_factors public_oe property

size of the hidden layer
public int num_hidden_factors
return int