计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
bandits-and-reinforcement-learning【效率与协作】Routes numpy-ml bandit, policy, trainer, and optional Gym-based reinforcement-learning tasks with dependency guidance.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for numpy-ml multi-armed bandit and tabular reinforcement
learning workflows:
Run the plotting-free smoke helper for base bandit functionality:
python sub-skills/bandits-and-reinforcement-learning/scripts/bandit_rl_smoke.py
Read references/api-reference.md before
constructing bandits, policies, or RL agents.
Read references/workflows.md for a tiny bandit
policy loop and an RL/Gym preparation checklist.
Read references/troubleshooting.md when
gym, matplotlib, action-space assumptions, plotting, or runtime length
block a task.
| User asks for | Use this route |
|---|---|
| simulate a small bandit | bandit API and smoke script. |
| compare policies without plotting | workflow reference with plot=False. |
| train on an OpenAI Gym environment | RL setup checklist and troubleshooting. |
debug missing gym or matplotlib warnings | troubleshooting reference. |
| neural-network policies or deep RL | this repo only provides educational tabular/linear-style components; route neural layers to ../neural-network-components/SKILL.md. |
policy.act(bandit, context=None) returns (reward, arm_id) and mutates the
policy's estimates.