mlpy.mdp.stateaction.State.set

State.set(features)

Sets the feature array to the given array.

Parameters:

features : array_like, shape (nfeatures,)

The new feature values.