The DataModel definition grants to use a generic type of identifiers for users and items. This capability is not used in the previous version, in which, a specific type was used (Long).
The aim of this PR is to generify the evaluation metrics that uses the DataModel for predictions and test ratings, in order to be able to work with generic type of identifier according to the user needs.
A single test case has been added that simply shows how to use the metrics with generic parameters.
Furthermore has been inserted some javadoc tag in order to document the generics type parameters for AbstractMetric, AbstractRankingMetric and AbstractErrorMetric.
The DataModel definition grants to use a generic type of identifiers for users and items. This capability is not used in the previous version, in which, a specific type was used (Long).
The aim of this PR is to generify the evaluation metrics that uses the DataModel for predictions and test ratings, in order to be able to work with generic type of identifier according to the user needs.
A single test case has been added that simply shows how to use the metrics with generic parameters. Furthermore has been inserted some javadoc tag in order to document the generics type parameters for AbstractMetric, AbstractRankingMetric and AbstractErrorMetric.