They both seem like matrix/arrays.
I'm not much of a python guy, are these generic datatypes used within python or specific to the gym?
I'm reading through API and still confused on what these actually are.
For example (from the docs)
print(env.action_space)
#> Discrete(2)
print(env.observation_space)
#> Box(4,)
Why does the box have a trailing comma? Does this represent something.
What's the difference between the Discrete
data type and Box
type?
From what I've gathered the numbers inside are the dimensions.
Is Discrete
analogous to an array and Box
analogous to a matrix?