mlpy.mdp.discrete.DecisionTreeModel.update¶
-
DecisionTreeModel.
update
(experience=None)[source]¶ Update the model with the agent’s experience.
The decision trees for transition and reward functions are being updated.
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.