skfolio.measures.BaseMeasure#

class skfolio.measures.BaseMeasure(new_class_name, /, names, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Base Enum of measures.

classmethod has(value)#

Check if a value is in the Enum.

Parameters:
valuestr

Input value.

Returns:
xbool

True if the value is in the Enum, False otherwise.