mlpy.experiments.task.Task.sensation

Task.sensation(**kwargs)[source]

Gather the state feature information.

Gather the state information (i.e. features) according to the task from the agent’s senses.

Parameters:

kwargs: dict

Non-positional arguments needed for gathering the information.

Returns:

features : array, shape (nfeatures,)

The sensed features

Raises:

NotImplementedError

If the child class does not implement this function.