org.mymedialite.io.kddcup2011
Class Ratings

java.lang.Object
  extended by org.mymedialite.io.kddcup2011.Ratings

public class Ratings
extends java.lang.Object

Class that offers static methods for reading in rating data from the KDD Cup 2011 files.


Method Summary
static IRatings read(java.lang.String filename)
          Read in rating data from a file.
static IRatings read80Plus(java.lang.String filename)
          Read in rating data from a file.
static IRatings readTest(java.lang.String filename)
          Read in test rating data (Track 1) from a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static IRatings read(java.lang.String filename)
                     throws java.io.IOException
Read in rating data from a file.

Parameters:
filename - the name of the file to read from
Returns:
the rating data
Throws:
java.io.IOException

readTest

public static IRatings readTest(java.lang.String filename)
                         throws java.io.IOException
Read in test rating data (Track 1) from a file.

Parameters:
filename - the name of the file to read from
Returns:
the rating data
Throws:
java.io.IOException

read80Plus

public static IRatings read80Plus(java.lang.String filename)
                           throws java.io.IOException
Read in rating data from a file.

Parameters:
filename - the name of the file to read from
Returns:
the rating data
Throws:
java.io.IOException