jxx123 / simglucose

A Type-1 Diabetes simulator implemented in Python for Reinforcement Learning purpose
MIT License
248 stars 114 forks source link

add gymnasium support #64

Closed jxx123 closed 1 year ago

jxx123 commented 1 year ago

Add gymnasium support. NOTE: gymnasium env no longer output observation as a namedtuple with CGM as a field. It strictly follows the space format, which is a numpy array with a single value.