|
MyMediaLite
3.02
|
Class that offers methods for reading in static rating data. More...
Static Public Member Functions | |
| static IRatings | Read (string filename, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, RatingType rating_type=RatingType.FLOAT, bool ignore_first_line=false) |
| Read in static rating data from a file. | |
| static IRatings | Read (TextReader reader, int size, IEntityMapping user_mapping=null, IEntityMapping item_mapping=null, RatingType rating_type=RatingType.FLOAT, bool ignore_first_line=false) |
| Read in static rating data from a TextReader. | |
Class that offers methods for reading in static rating data.
| static IRatings Read | ( | string | filename, |
| IEntityMapping | user_mapping = null, |
||
| IEntityMapping | item_mapping = null, |
||
| RatingType | rating_type = RatingType.FLOAT, |
||
| bool | ignore_first_line = false |
||
| ) | [inline, static] |
Read in static rating data from a file.
| filename | the name of the file to read from |
| user_mapping | mapping object for user IDs |
| item_mapping | mapping object for item IDs |
| rating_type | the data type to be used for storing the ratings |
| ignore_first_line | if true, ignore the first line |
| static IRatings Read | ( | TextReader | reader, |
| int | size, | ||
| IEntityMapping | user_mapping = null, |
||
| IEntityMapping | item_mapping = null, |
||
| RatingType | rating_type = RatingType.FLOAT, |
||
| bool | ignore_first_line = false |
||
| ) | [inline, static] |
Read in static rating data from a TextReader.
| reader | the TextReader to read from |
| size | the number of ratings in the file |
| user_mapping | mapping object for user IDs |
| item_mapping | mapping object for item IDs |
| rating_type | the data type to be used for storing the ratings |
| ignore_first_line | if true, ignore the first line |
1.7.6.1