pytorch / rl

A modular, primitive-first, python-first PyTorch library for Reinforcement Learning.
https://pytorch.org/rl
MIT License
2.35k stars 309 forks source link

MIMIC Dataset for Batch RL [Feature Request] #1679

Open braj29 opened 1 year ago

braj29 commented 1 year ago

Motivation

Want to add the MIMIC Dataset, generally used for Sepsis Treatment for benchmarking Batch-RL algorithms in a easy & efficient way. This dataset is used in many BatchRL papers for sepsis treatment. See: https://github.com/asjad99/MIMIC_RL_COACH

Solution

Use D4RL wrapper (https://github.com/Farama-Foundation/D4RL) to download and load the dataset ready for training using simple python commands

Alternatives

For larger datasets it maybe best to download the files partially and then delete them as training progressing while simultaneously downloading remaining data

Additional context

Checklist

vmoens commented 1 year ago

The D4RL dataset format is a bit messy IMO. Can we interact with the dataset directly without recurring to D4RL?