mlpy.mdp.stateaction.MDPPrimitive.set_nfeatures

classmethod MDPPrimitive.set_nfeatures(n)[source]

Set the number of features.

Parameters:

n : int

The number of features.

Raises:

ValueError

If n is not of type integer.