MyMediaLite  3.11
Static Public Member Functions | List of all members
Items Class Reference

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

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 More...
 
static void ReadAlbums (TextReader reader, KDDCupItems items)
 Read the album data More...
 
static void ReadArtists (TextReader reader, KDDCupItems items)
 Read the artist data More...
 
static void ReadGenres (TextReader reader, KDDCupItems items)
 Read the genre data More...
 
static void ReadTracks (TextReader reader, KDDCupItems items)
 Read the track data More...
 

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 
)
inlinestatic

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 
)
inlinestatic

Read the album data

Parameters
readera reader object to read the data from
itemsthe KDDCupItems object
static void ReadArtists ( TextReader  reader,
KDDCupItems  items 
)
inlinestatic

Read the artist data

Parameters
readera reader object to read the data from
itemsthe KDDCupItems object
static void ReadGenres ( TextReader  reader,
KDDCupItems  items 
)
inlinestatic

Read the genre data

Parameters
readera reader object to read the data from
itemsthe KDDCupItems object
static void ReadTracks ( TextReader  reader,
KDDCupItems  items 
)
inlinestatic

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: