inte för mycket och inte för lite, enkelhet är bästnot too much and not too little, simplicity is often the best
lagom is a light PyTorch infrastructure to quickly prototype reinforcement learning algorithms.
lagom balances between the flexibility and the userability when developing reinforcement learning (RL) algorithms. The library is built on top of PyTorch and provides modular tools to quickly prototype RL algorithms. However, we do not go overboard, because going too low level is rather time consuming and prone to potential bugs, while going too high level degrades the flexibility which makes it difficult to try out some crazy ideas.
We are continuously making lagom more 'self-contained' to run experiments quickly. Now, it internally supports base classes for multiprocessing (master-worker framework) to parallelize (e.g. experiments and evolution strategies). It also supports hyperparameter search by defining configurations either as grid search or random search.
One of the main pipelines to use lagom can be done as following:
- Define environment and RL agent
- User runner to collect data for agent
- Define algorithm to train agent
- Define experiment and configurations.
A graphical illustration is coming soon.
.. toctree:: :maxdepth: 1 :caption: Installation setup install
.. toctree:: :maxdepth: 1 :caption: Tutorials
.. toctree:: :maxdepth: 1 :caption: lagom API lagom lagom.envs <envs> lagom.experiment <experiment> lagom.metric <metric> lagom.networks <networks> lagom.transform <transform> lagom.utils <utils> lagom.vis <vis>