How should we structure the base classes for the sequential environments?
I don't particularly like the approach in the sequential-neural-testbed repository. They assume that the dataset is fixed and simply iterates over it. I believe that a more flexible approach that allows for the data to be sampled (and maybe batched to improve sampling speed) would be more convenient. In other words, the SequentialEnvironment base class should take a data generator function in input and iteratively sample data from it.
How should we structure the base classes for the sequential environments?
I don't particularly like the approach in the sequential-neural-testbed repository. They assume that the dataset is fixed and simply iterates over it. I believe that a more flexible approach that allows for the data to be sampled (and maybe batched to improve sampling speed) would be more convenient. In other words, the SequentialEnvironment base class should take a data generator function in input and iteratively sample data from it.