Routines for reading in the item taxonomy of the KDD Cup 2011 data
More...
Routines for reading in the item taxonomy of the KDD Cup 2011 data
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_filename | name of the tracks file |
albums_filename | name of the album/record file |
artists_filename | name of the artists file |
genres_filename | name of the genre file |
track_no | 1 or 2 |
- Returns
- the rating data
static void ReadAlbums |
( |
TextReader |
reader, |
|
|
KDDCupItems |
items |
|
) |
| |
|
inlinestatic |
Read the album data
- Parameters
-
reader | a reader object to read the data from |
items | the KDDCupItems object |
static void ReadArtists |
( |
TextReader |
reader, |
|
|
KDDCupItems |
items |
|
) |
| |
|
inlinestatic |
Read the artist data
- Parameters
-
reader | a reader object to read the data from |
items | the KDDCupItems object |
static void ReadGenres |
( |
TextReader |
reader, |
|
|
KDDCupItems |
items |
|
) |
| |
|
inlinestatic |
Read the genre data
- Parameters
-
reader | a reader object to read the data from |
items | the KDDCupItems object |
static void ReadTracks |
( |
TextReader |
reader, |
|
|
KDDCupItems |
items |
|
) |
| |
|
inlinestatic |
Read the track data
- Parameters
-
reader | a reader object to read the data from |
items | the KDDCupItems object |
The documentation for this class was generated from the following file: