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_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 | |
|
) |
| | [inline, static] |
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 | |
|
) |
| | [inline, static] |
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 | |
|
) |
| | [inline, static] |
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 | |
|
) |
| | [inline, static] |
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: