mlpy.mdp.IMDPModel.update

IMDPModel.update(experience)[source]

Update the model with the agent’s experience.

Parameters:

experience : Experience

The agent’s experience, consisting of state, action, next state(, and reward).

Returns:

bool :

Return True if the model has changed, False otherwise.

Raises:

NotImplementedError

If the child class does not implement this function.

Notes

Optionally this method can be overwritten if the model supports incrementally updating the model.