offline-bandits-data
Use AgileRL offline RL datasets, replay/data conversion, CQL/ILQL, contextual bandits, NeuralUCB/NeuralTS, and BanditEnv workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- offline-bandits-data
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use AgileRL offline RL datasets, replay/data conversion, CQL/ILQL, contextual bandits, NeuralUCB/NeuralTS, and BanditEnv workflows.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/api-reference.md1.0 KB
- 参考文档references/data-formats.md1.5 KB
- 参考文档references/troubleshooting.md1.2 KB
- 参考文档references/workflows.md1.8 KB
03 SKILL.md 正文
AgileRL Offline RL And Bandit Data
Use this sub-skill for AgileRL offline reinforcement learning, replay/data conversion, CQL, ILQL, train_offline, contextual bandits, NeuralUCB, NeuralTS, and BanditEnv workflows.
Read First
references/workflows.mdfor offline RL and contextual bandit recipes.references/data-formats.mdfor transition, HDF5/Minari, and tabular bandit schemas.references/api-reference.mdfor replay/bandit/offline APIs.references/troubleshooting.mdfor shape, schema, and network/download failures.scripts/inspect_bandit_setup.py --helpfor a no-download synthetic bandit probe.
Boundaries
- Use
../training-workflows/SKILL.mdfor online Gymnasium PPO/DQN/DDPG/TD3 workflows. - Use
../hpo-and-mutation/SKILL.mdfor tournament/mutation configuration. - Use
../llm-fine-tuning/SKILL.mdfor language/LLM datasets and RL post-training environments. - This sub-skill owns static transition datasets, replay filling, Minari/HDF5 handling, and one-step contextual bandit datasets.
Offline RL Flow
- Load or validate a dataset with observations, actions, rewards, next observations, and done/terminal flags.
- Create an environment only for spaces/evaluation, not online data collection.
- Create a
CQN/ILQL-style population withcreate_population(...). - Fill
ReplayBufferwithTransition(...).to_tensordict()entries. - Configure HPO and call
train_offline(...)or a custom offline loop.
Contextual Bandit Flow
- Prepare tabular or array features and targets.
- Create
BanditEnv(features, targets). - Use
NeuralUCBorNeuralTSwith a discrete action space. - Use replay memory and
train_bandits(...)or a custom one-step loop.
Safe Validation
python scripts/inspect_bandit_setup.py --rows 8 --features 4 --arms 3
The helper creates synthetic in-memory data. It does not download UCI datasets or run training.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.