C# Class MyMediaLite.RatingPrediction.GlobalAverage

Uses the average rating value over all ratings for prediction
This recommender supports incremental updates.
Inheritance: MyMediaLite.RatingPrediction.IncrementalRatingPredictor
Datei anzeigen Open project: zenogantner/MML-KDD

Public Methods

Method Description
CanPredict ( int user_id, int item_id ) : bool
LoadModel ( string filename ) : void
Predict ( int user_id, int item_id ) : double
SaveModel ( string filename ) : void
Train ( ) : void

Method Details

CanPredict() public method

public CanPredict ( int user_id, int item_id ) : bool
user_id int
item_id int
return bool

LoadModel() public method

public LoadModel ( string filename ) : void
filename string
return void

Predict() public method

public Predict ( int user_id, int item_id ) : double
user_id int
item_id int
return double

SaveModel() public method

public SaveModel ( string filename ) : void
filename string
return void

Train() public method

public Train ( ) : void
return void