recbole.evaluator.abstract_evaluator¶
-
class
recbole.evaluator.abstract_evaluator.
AbstractEvaluator
(config)[source]¶ Bases:
object
AbstractEvaluator
is an abstract object which supports the evaluation of the model. It is called byTrainer
.Note
If you want to inherit this class and implement your own evalautor class, you must implement the following functions.
- Parameters
config (Config) – The config of evaluator.