Tags / Python
Posts
Projects
2019
- Treeart pretty-print binary tree structures in ASCII Treeart lets you draw ASCII trees easily. These can contain nodes that span multiple lines, they will be correctly combined. […] You can specify three kinds of edges, which use more or less space, and might work better for different applications: […] You can also specify a gap on either side of the abutting edges:
- Funes persistent, definition-sensitive disk caching of scientific computations Funes lets you decorate functions in such a way that their computations are memorized permanently to disk. Funes is named after the Borges short story Funes the Memorious. […] This is extremely useful for scientific investigations in which partial results should be stored between runs — hyperparameter sweeps being a good example. […] If you complete a hyperparameter sweep, and then later decide to extend the range or granularity of the sweep, the previous computations will …
- Spieeltjie experiment with multi-agent RL on zero-sum differentiable games Spieeltjie is a single-file package for doing simple experiments with multi-agent reinforcement learning on symmetric zero-sum games. For more information see “Open-ended learning in Symmetric Zero-Sum Games” and “A Unified Game-Theoretic Approach to Multiagent Reinforcement Learning”. The name “spieeltjie” comes from the Afrikaans word for “tournament”. […] This first set of images shows trajectories when starting from a set of random …
- Blinker OpenAI Gym wrapper for active observation The blinker wrapper can wrap any Gym environment, adding an additional, parallel observe action. observe costs a configurable amount of reward (i.e. it produces a negative reward), but is required to obtain a fresh observation. If observe is not chosen, the observation will remain stale. This forces agents to choose the best times to observe, and to avoid observation if they can predict the relevant world state. Additionally, the render(human=true) method will show a visual indication when an …
- SOAP feedback alignment & activity propogation in PyTorch SOAP (Second Order Activity Propogation) is a package for experimenting with feedback alignment and activity propogation in PyTorch. It formed my project for the 3-week IBRO-Simons Computational Neuroscience Summer School in 2019. I’d like to share my journey over the few days I spent on this project, because it took me far afield and led to some strong opinions (always a good outcome). […] TODO: Describe it For more information on Feedback Alignment, see Lillicrap’s original …