mlpy.mdp.stateaction.MDPAction.set_nfeatures

MDPAction.set_nfeatures(n)

Set the number of features.

Parameters:

n : int

The number of features.

Raises:

ValueError

If n is not of type integer.