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.
|
| RatingScale (IList< float > rating_values) |
| Initializes a new instance of the MyMediaLite.Data.RatingScale class, given a list of float values.
|
| RatingScale (IList< byte > rating_values) |
| Initializes a new instance of the MyMediaLite.Data.RatingScale class, given a list of byte values.
|
| RatingScale (RatingScale scale1, RatingScale scale2) |
| Initializes a new instance of the MyMediaLite.Data.RatingScale class, given two existing instances.
|
| RatingScale (SerializationInfo info, StreamingContext context) |
Properties |
Dictionary< float, int > | LevelID [get, set] |
| mapping from level values to IDs
|
List< float > | Levels [get, set] |
| list of rating levels (actual values)
|
float | Max [get, set] |
| the maximum rating in the dataset
|
float | Min [get, set] |
| the minimum rating in the dataset
|
Class containing information about the rating scale of a data set: valid rating values, minimum/maximum rating.