lenskit.metrics.predict.AvgErrorAccumulator#

class lenskit.metrics.predict.AvgErrorAccumulator(root=False)#
Parameters:

root (bool)

add(value)#
Parameters:

value (tuple[float, int])

accumulate()#
Return type:

dict[str, float]