mlpy.mdp.IMDPModel.predict_proba

IMDPModel.predict_proba(state, action)[source]

Predict the probability distribution.

The probability distribution for state transitions is predicted for the given state and an action.

Parameters:

state : State

The current state the robot is in.

action : Action

The action perform in state state.

Returns:

dict[tuple[float], float] :

The probability distribution for the state-action pair.

Raises:

NotImplementedError

If the child class does not implement this function.

Notes

This is an abstract method and must be implemented by its deriving class.