skfolio.utils.stats.NBinsMethod#

class skfolio.utils.stats.NBinsMethod(*values)[source]#

Enumeration of the Number of Bins Methods.

Parameters:
FREEDMANstr

Freedman method

KNUTHstr

Knuth method

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.