|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeAwareRatingPredictor
Interface for time-aware rating predictors. Time-aware rating predictors use the information contained in the dates/times of the ratings to build more accurate models. They may or may not use time information at prediction (as opposed to training) time.
Method Summary | |
---|---|
ITimedRatings |
getTimedRatings()
Get the training data that also contains the time information. |
double |
predict(int user_id,
int item_id,
java.util.Date time)
predict rating at a certain point in time. |
void |
setTimedRatings(ITimedRatings timedRatings)
Set the training data that also contains the time information. |
Methods inherited from interface org.mymedialite.ratingprediction.IRatingPredictor |
---|
getMaxRating, getMinRating, setMaxRating, setMinRating |
Methods inherited from interface org.mymedialite.IRecommender |
---|
canPredict, loadModel, predict, saveModel, toString, train |
Method Detail |
---|
ITimedRatings getTimedRatings()
void setTimedRatings(ITimedRatings timedRatings)
double predict(int user_id, int item_id, java.util.Date time)
user_id
- the user IDitem_id
- the item IDtime
- the time of the rating event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |