|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mymedialite.io.MovieLensRatingData
public class MovieLensRatingData
Class that offers static methods for reading in MovieLens 1M and 10M rating data. See http://www.grouplens.org/node/73#attachments and http://recsyswiki.com/wiki/MovieLens
Method Summary | |
---|---|
static ITimedRatings |
read(java.io.BufferedReader reader,
IEntityMapping user_mapping,
IEntityMapping item_mapping)
Read in rating data from a TextReader. |
static ITimedRatings |
read(java.lang.String filename,
IEntityMapping user_mapping,
IEntityMapping item_mapping)
Read in rating data from a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ITimedRatings read(java.lang.String filename, IEntityMapping user_mapping, IEntityMapping item_mapping) throws java.io.IOException
filename
- the name of the file to read from, "-" if STDINuser_mapping
- mapping object for user IDsitem_mapping
- mapping object for item IDs
java.io.IOException
public static ITimedRatings read(java.io.BufferedReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping) throws java.io.IOException
reader
- the user_mapping
- mapping object for user IDsitem_mapping
- mapping object for item IDs
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |