C# Class MyMediaLite.IO.KDDCup2011.Ratings

Class that offers static methods for reading in rating data from the KDD Cup 2011 files
ファイルを表示 Open project: zenogantner/MML-KDD

Public Methods

Method Description
Read ( StreamReader reader ) : IRatings

Read in rating data from a TextReader

Read ( string filename ) : IRatings

Read in rating data from a file

Read80Plus ( StreamReader reader ) : IRatings

Read in rating data from a TextReader

Read80Plus ( string filename ) : IRatings

Read in rating data from a file

ReadTest ( StreamReader reader ) : IRatings

Read in rating test data (Track 1) from a TextReader

ReadTest ( string filename ) : IRatings

Read in test rating data (Track 1) from a file

Private Methods

Method Description
GetNumberOfRatings ( StreamReader reader ) : int

Method Details

Read() public static method

Read in rating data from a TextReader
public static Read ( StreamReader reader ) : IRatings
reader System.IO.StreamReader the to read from
return IRatings

Read() public static method

Read in rating data from a file
public static Read ( string filename ) : IRatings
filename string the name of the file to read from
return IRatings

Read80Plus() public static method

Read in rating data from a TextReader
public static Read80Plus ( StreamReader reader ) : IRatings
reader System.IO.StreamReader the to read from
return IRatings

Read80Plus() public static method

Read in rating data from a file
public static Read80Plus ( string filename ) : IRatings
filename string the name of the file to read from
return IRatings

ReadTest() public static method

Read in rating test data (Track 1) from a TextReader
public static ReadTest ( StreamReader reader ) : IRatings
reader System.IO.StreamReader the to read from
return IRatings

ReadTest() public static method

Read in test rating data (Track 1) from a file
public static ReadTest ( string filename ) : IRatings
filename string the name of the file to read from
return IRatings