인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

bandits-and-reinforcement-learning

bandits-and-reinforcement-learning

Routes numpy-ml bandit, policy, trainer, and optional Gym-based reinforcement-learning tasks with dependency guidance.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: bandits-and-reinforcement-learning description: "Routes numpy-ml bandit, policy, trainer, and optional Gym-based reinforcement-learning tasks with dependency guidance." disable-model-invocation: true metadata: disco-role: operating license: GPL 3.0

Bandits and Reinforcement Learning

Use this sub-skill for numpy-ml multi-armed bandit and tabular reinforcement learning workflows:

  • Bernoulli, multinomial, Gaussian, contextual Bernoulli, and contextual linear bandits;
  • epsilon-greedy, UCB1, Thompson sampling, and LinUCB policies;
  • bandit training/comparison helpers;
  • Gym-backed RL agents and trainers for Monte Carlo, TD, cross-entropy, and Dyna-style workflows.

First Checks

  1. Run the plotting-free smoke helper for base bandit functionality:

    python sub-skills/bandits-and-reinforcement-learning/scripts/bandit_rl_smoke.py
    
  2. Read references/api-reference.md before constructing bandits, policies, or RL agents.

  3. Read references/workflows.md for a tiny bandit policy loop and an RL/Gym preparation checklist.

  4. Read references/troubleshooting.md when gym, matplotlib, action-space assumptions, plotting, or runtime length block a task.

Route by Task

User asks forUse this route
simulate a small banditbandit API and smoke script.
compare policies without plottingworkflow reference with plot=False.
train on an OpenAI Gym environmentRL setup checklist and troubleshooting.
debug missing gym or matplotlib warningstroubleshooting reference.
neural-network policies or deep RLthis repo only provides educational tabular/linear-style components; route neural layers to ../neural-network-components/SKILL.md.

Operating Notes

  • Bandit APIs work in the base CPU environment.
  • RL training on real environments requires the optional Gym dependency and may be sensitive to Gym/Gymnasium API version drift.
  • policy.act(bandit, context=None) returns (reward, arm_id) and mutates the policy's estimates.
  • Plotting helpers are optional and should not be part of a safe smoke unless the user explicitly asks for plots.
저장한 Skills