MyMediaLite  3.03
Static Public Member Functions
Items Class Reference

Routines for reading in the item taxonomy of the KDD Cup 2011 data. More...

List of all members.

Static Public Member Functions

static KDDCupItems Read (string tracks_filename, string albums_filename, string artists_filename, string genres_filename, uint track_no)
 Read in the item data from several files.
static void ReadAlbums (TextReader reader, KDDCupItems items)
 Read the album data.
static void ReadArtists (TextReader reader, KDDCupItems items)
 Read the artist data.
static void ReadGenres (TextReader reader, KDDCupItems items)
 Read the genre data.
static void ReadTracks (TextReader reader, KDDCupItems items)
 Read the track data.

Detailed Description

Routines for reading in the item taxonomy of the KDD Cup 2011 data.


Member Function Documentation

static KDDCupItems Read ( string  tracks_filename,
string  albums_filename,
string  artists_filename,
string  genres_filename,
uint  track_no 
) [inline, static]

Read in the item data from several files.

Parameters:
tracks_filenamename of the tracks file
albums_filenamename of the album/record file
artists_filenamename of the artists file
genres_filenamename of the genre file
track_no1 or 2
Returns:
the rating data
static void ReadAlbums ( TextReader  reader,
KDDCupItems  items 
) [inline, static]

Read the album data.

Parameters:
readera reader object to read the data from
itemsthe KDDCupItems object
static void ReadArtists ( TextReader  reader,
KDDCupItems  items 
) [inline, static]

Read the artist data.

Parameters:
readera reader object to read the data from
itemsthe KDDCupItems object
static void ReadGenres ( TextReader  reader,
KDDCupItems  items 
) [inline, static]

Read the genre data.

Parameters:
readera reader object to read the data from
itemsthe KDDCupItems object
static void ReadTracks ( TextReader  reader,
KDDCupItems  items 
) [inline, static]

Read the track data.

Parameters:
readera reader object to read the data from
itemsthe KDDCupItems object

The documentation for this class was generated from the following file: