mlpy.mdp.stateaction.Action.set_nfeatures

Action.set_nfeatures(n)

Set the number of features.

Parameters:

n : int

The number of features.

Raises:

ValueError

If n is not of type integer.