langfair.metrics.stereotype.metrics.baseclass.metrics.Metric#
- class langfair.metrics.stereotype.metrics.baseclass.metrics.Metric#
Bases:
ABC
Abstract base class of all stereotype metrics. Serves as a template for creating new metric functions.
- __init__()#
Methods
__init__
()evaluate
(responses)Abstract method that needs to be implemented by the user when creating a new metric function.
- abstract evaluate(responses)#
Abstract method that needs to be implemented by the user when creating a new metric function.