mlpy.mdp.stateaction.MDPPrimitive.set_discretized

classmethod MDPPrimitive.set_discretized(val=False)[source]

Sets the discretized flag.

Parameters:

val : bool

Flag identifying whether the features are discretized or not. Default is False.

Raises:

ValueError

If val is not boolean type.