MyMediaLite
3.11
|
Class containing information about the rating scale of a data set: valid rating values, minimum/maximum rating. More...
Public Member Functions | |
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
RatingScale (List< float > levels) | |
Initializes a new instance of the MyMediaLite.Data.RatingScale class. More... | |
RatingScale (IList< float > rating_values) | |
Initializes a new instance of the MyMediaLite.Data.RatingScale class, given a list of float values More... | |
RatingScale (IList< byte > rating_values) | |
Initializes a new instance of the MyMediaLite.Data.RatingScale class, given a list of byte values More... | |
RatingScale (RatingScale scale1, RatingScale scale2) | |
Initializes a new instance of the MyMediaLite.Data.RatingScale class, given two existing instances. More... | |
RatingScale (SerializationInfo info, StreamingContext context) | |
Properties | |
Dictionary< float, int > | LevelID [get] |
mapping from level values to IDs More... | |
List< float > | Levels [get] |
list of rating levels (actual values) More... | |
float | Max [get] |
the maximum rating in the dataset More... | |
float | Min [get] |
the minimum rating in the dataset More... | |
Class containing information about the rating scale of a data set: valid rating values, minimum/maximum rating.
|
inline |
Initializes a new instance of the MyMediaLite.Data.RatingScale class.
levels | a list of observed levels |
|
inline |
Initializes a new instance of the MyMediaLite.Data.RatingScale class, given a list of float values
rating_values | the ratings dataset |
|
inline |
Initializes a new instance of the MyMediaLite.Data.RatingScale class, given a list of byte values
rating_values | the ratings dataset |
|
inline |
Initializes a new instance of the MyMediaLite.Data.RatingScale class, given two existing instances.
scale1 | the first scale object |
scale2 | the second scale object |
|
get |
mapping from level values to IDs
|
get |
list of rating levels (actual values)
|
get |
the maximum rating in the dataset
|
get |
the minimum rating in the dataset