Agent SkillsPrismer-AI/Prismer › ml-experiment

ml-experiment

GitHub

用于设计和运行机器学习实验,涵盖模型训练、基准测试、消融研究及结果评估。支持复现论文、配置超参数搜索、统计分析及可视化,确保实验可复现性与严谨性。

docker/templates/cs-researcher/skills/ml-experiment/SKILL.md Prismer-AI/Prismer

Trigger Scenarios

用户要求训练模型或比较算法 需要运行消融研究以分析组件影响 要求复现特定论文的实验结果 评估机器学习模型性能指标

Install

npx skills add Prismer-AI/Prismer --skill ml-experiment -g -y
More Options

Non-standard path

npx skills add https://github.com/Prismer-AI/Prismer/tree/main/docker/templates/cs-researcher/skills/ml-experiment -g -y

Use without installing

npx skills use Prismer-AI/Prismer@ml-experiment

指定 Agent (Claude Code)

npx skills add Prismer-AI/Prismer --skill ml-experiment -a claude-code -g -y

安装 repo 全部 skill

npx skills add Prismer-AI/Prismer --all -g -y

预览 repo 内 skill

npx skills add Prismer-AI/Prismer --list

SKILL.md

Frontmatter
{
    "name": "ml-experiment",
    "description": "Design and run machine learning experiments with proper evaluation using jupyter_execute, including training, benchmarking, and ablation studies. Use when the user wants to train models, compare algorithms, run ablation studies, evaluate ML performance, or reproduce paper results."
}

ML Experiment Skill

Description

Design, implement, and evaluate machine learning experiments with reproducible workflows, proper baselines, and statistical analysis.

Tools Used

  • jupyter_execute - Execute ML code in Python (auto-switches to Jupyter)
  • jupyter_notebook - Manage experiment notebooks
  • update_notebook - Set up experiment cells
  • update_latex - Write experiment results to papers
  • latex_compile - Compile CS conference papers (auto-switches to LaTeX)
  • arxiv_to_prompt - Read related work from arXiv papers
  • update_notes - Write experiment logs and analysis summaries

Capabilities

Experiment Design

  • Proper train/validation/test splits
  • Cross-validation and bootstrap confidence intervals
  • Ablation study design
  • Hyperparameter search (grid, random, Bayesian)

Implementation

  • PyTorch and TensorFlow model building
  • Data loading and augmentation pipelines
  • Training loops with logging and checkpointing
  • Distributed training setup

Evaluation

  • Standard metrics per task (accuracy, F1, BLEU, mAP, etc.)
  • Statistical significance testing (paired t-test, bootstrap)
  • Comparison with baselines
  • Error analysis and visualization

Usage Patterns

Run an Experiment

When user says: "Train a model for [task]"

  1. Clarify dataset, metrics, and baselines
  2. Implement data loading and preprocessing
  3. Build model architecture
  4. Train with proper logging
  5. Evaluate and compare to baselines
  6. Report results with confidence intervals

Reproduce a Paper

When user says: "Reproduce [paper title/arXiv ID]"

  1. Fetch paper using arxiv_to_prompt
  2. Extract key method details
  3. Implement core algorithm
  4. Run experiments matching paper setup
  5. Compare results to reported numbers

Tool Examples

Train and evaluate a classifier

# via jupyter_execute
import torch
from sklearn.model_selection import train_test_split
from sklearn.metrics import classification_report

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
# ... train model ...
print(classification_report(y_test, predictions))

Run ablation study

# via jupyter_execute
configs = [
    {"name": "full", "use_augmentation": True, "use_dropout": True},
    {"name": "no_aug", "use_augmentation": False, "use_dropout": True},
    {"name": "no_dropout", "use_augmentation": True, "use_dropout": False},
]
results = {c["name"]: train_and_eval(**c) for c in configs}

Validation checkpoints

  • Verify data shapes match expected dimensions before training
  • Check that loss is decreasing after the first few epochs
  • Confirm test set has no overlap with training data

Version History

  • 2dbe71f Current 2026-08-20 10:22

Same Skill Collection

docker/config/workspace/skills/prismer-workspace/SKILL.md
docker/plugin/prismer-workspace/skills/arxiv-reader/SKILL.md
docker/plugin/prismer-workspace/skills/find-skills/SKILL.md
docker/plugin/prismer-workspace/skills/formal-methods/SKILL.md
docker/plugin/prismer-workspace/skills/hf-papers/SKILL.md
docker/plugin/prismer-workspace/skills/latex-compiler/SKILL.md
docker/templates/academic-researcher/skills/data-analysis/SKILL.md
docker/templates/academic-researcher/skills/latex-writing/SKILL.md
docker/templates/academic-researcher/skills/paper-search/SKILL.md
docker/templates/data-scientist/skills/jupyter/SKILL.md
docker/templates/finance-researcher/skills/quant-analysis/SKILL.md
docker/templates/mathematician/skills/theorem-proving/SKILL.md
docker/templates/paper-reviewer/skills/peer-review/SKILL.md
skills/arxiv-reader/SKILL.md
skills/formal-methods/SKILL.md
skills/hf-papers/SKILL.md
skills/latex-compiler/SKILL.md

Metadata

Files
0
Version
2dbe71f
Hash
c100340c
Indexed
2026-08-20 10:22

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 22:06
浙ICP备14020137号-1 $mapa de visitantes$