d3rlpy.datasets.get_cartpole

d3rlpy.datasets.get_cartpole()[source]

Returns cartpole dataset and environment.

The dataset is automatically downloaded to d3rlpy_data/cartpole.pkl if it does not exist.

Returns:tuple of d3rlpy.dataset.MDPDataset and gym environment.
Return type:tuple