jxx123 / simglucose

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

add gymnasium support #64

Closed jxx123 closed 11 months ago

jxx123 commented 11 months 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.