MushroomRL / mushroom-rl

Python library for Reinforcement Learning.
MIT License
803 stars 145 forks source link

Suggestion: rename episodes_length to compute_episodes_length #91

Closed RylanSchaeffer closed 2 years ago

RylanSchaeffer commented 2 years ago

If I can make a suggestion, perhaps you could rename the function mushroom_rl.utils.dataset.episodes_length() to mushroom_rl.utils.dataset.compute_episodes_length(). This would better match your function naming convention (e.g. compute_J(), compute_metrics()) and would also allow me to name the returned variable episode_lengths.

Thanks in advance!