Closed milmin closed 6 months ago
Since RecEnv
inherits from class Environment
which has abstract method observation_space
a solution is to override it in RecEnv
with something like:
def observation_space(self):
pass
In this tutorial, having an empty observation space is that wanted?
Thank you for reporting. This should be fixed now.
Since
RecEnv
inherits from classEnvironment
which has abstract methodobservation_space
a solution is to override it inRecEnv
with something like:def observation_space(self): pass
In this tutorial, having an empty observation space is that wanted?
In this example, the observations are the obtained reward, which has a range from 0 to 1, so the observation space is a Box from 0 to 1. This has been included in our latest commit. Thank you.
In the tutorial single_item_recommender_system.ipynb when calling
RecEnv(list(actions.values())[:100], model, history_length)
I get