mlpy.mdp.discrete.DiscreteModel.predict_proba¶
-
DiscreteModel.
predict_proba
(state, action)[source]¶ Predict the probability distribution.
Predict the probability distribution for state transitions given a 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.