C# 클래스 MyMediaLite.RatingPrediction.EntityAverage

Abstract class that uses an average (by entity) rating value for predictions
상속: RatingPredictor
파일 보기 프로젝트 열기: zenogantner/MML-KDD

보호된 프로퍼티들

프로퍼티 타입 설명
entity_averages IList
global_average double

공개 메소드들

메소드 설명
LoadModel ( string filename ) : void
SaveModel ( string filename ) : void
this ( int index ) : double

return the average rating for a given entity

보호된 메소드들

메소드 설명
Train ( IList entity_ids, int max_entity_id ) : void

Train the recommender according to the given entity type

메소드 상세

LoadModel() 공개 메소드

public LoadModel ( string filename ) : void
filename string
리턴 void

SaveModel() 공개 메소드

public SaveModel ( string filename ) : void
filename string
리턴 void

Train() 보호된 메소드

Train the recommender according to the given entity type
protected Train ( IList entity_ids, int max_entity_id ) : void
entity_ids IList list of the relevant entity IDs in the training data
max_entity_id int the maximum entity ID
리턴 void

this() 공개 메소드

return the average rating for a given entity
public this ( int index ) : double
index int the entity index
리턴 double

프로퍼티 상세

entity_averages 보호되어 있는 프로퍼티

The average rating for each entity
protected IList entity_averages
리턴 IList

global_average 보호되어 있는 프로퍼티

The global average rating (default prediction if there is no data about an entity)
protected double global_average
리턴 double