colosseum.emission_maps.state_linear_random

 1from colosseum.emission_maps.base import StateLinear
 2
 3
 4class StateLinearRandom(StateLinear):
 5    """
 6    The `StateLinearOptimal` emission map creates a non-tabular representation such that it is linear in the state value
 7    function of the random uniform policy.
 8    """
 9
10    @property
11    def V(self):
12        return self._mdp.random_value_functions[1].ravel()
class StateLinearRandom(colosseum.emission_maps.base.StateLinear):
 5class StateLinearRandom(StateLinear):
 6    """
 7    The `StateLinearOptimal` emission map creates a non-tabular representation such that it is linear in the state value
 8    function of the random uniform policy.
 9    """
10
11    @property
12    def V(self):
13        return self._mdp.random_value_functions[1].ravel()

The StateLinearOptimal emission map creates a non-tabular representation such that it is linear in the state value function of the random uniform policy.

V
Returns
  • np.ndarray: The value function w.r.t. which the non-tabular representation is linear.