Skip to content

v0.1.0 — Visual learning workspace

Latest

Choose a tag to compare

@AstonDky AstonDky released this 18 Nov 17:29

Math in RL Visual 0.1.0

A desktop workspace for connecting reinforcement-learning code with GridWorld behavior, values, policies, and update variables.

This release adds a consistent light/dark interface, resizable panels, keyboard shortcuts, and saved preferences for text size, display pacing, and TensorBoard opening. It also fixes learned Q/V state being overwritten during visualization or restore, DQN target-network initialization and update counting, and session resets when pressing Start. Closing the application now preserves training logs.

English and Chinese READMEs, MIT licensing, citation metadata, contribution guidance, issue/PR templates, and automated checks are included. The attached 32-second MP4 records the actual application running through training, pause, settings, resume, and checkpoint restoration. The recording script and its event record are in the repository.

Validation: 20 regression checks on Windows/Python 3.12, including short runs through all 18 algorithm entry points, learned-state restoration, and persistent UI preferences. These checks do not establish convergence or benchmark performance. The source highlight is a staged reading aid, not a line-execution debugger.

Download the source archive and install requirements.txt, then run python main.py. See the README for environment setup. PyQt6 and other dependencies retain their own license terms.

中文

本版完善了强化学习可视化工具的浅深主题、可调面板、快捷键和持久化设置,并修复价值表被覆盖、DQN 目标网络更新、开始训练误重置、退出清除日志等问题。

仓库包含中英文说明、MIT 许可、引用与贡献信息、问题模板和自动检查。附带的 32 秒视频来自新版程序的真实运行,展示训练、暂停、设置、继续和存档恢复;源码中提供可重复录制的脚本。

Windows / Python 3.12 下的 20 项检查通过,覆盖 18 个算法入口的短程运行及状态、界面设置保存。项目用于教学和算法探索,本版不提供收敛或性能基准结论。