agentsclimarketplace

Pymc bayesian linear regression starter

Skill ma-compbio-lab/SkillFoundry/skills/statistical-and-machine-learning-foundations-for-science/pymc-bayesian-linear-regression-starter

A framework for discovering, compiling, and validating reusable skills for scientific agents.From the repository description

Install
npx -y skills add ma-compbio-lab/SkillFoundry --skill pymc-bayesian-linear-regression-starter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.3 KB, 286 tokens by cl100k_base, as published. Nobody here has run it

PyMC Bayesian Linear Regression Starter

Use this skill to fit a tiny Bayesian linear regression with PyMC and summarize posterior means plus credible intervals.

What it does

  • Loads a deterministic toy (x, y) table.
  • Fits a simple Bayesian regression with PyMC.
  • Summarizes posterior means, 90% intervals, and a few posterior predictive means.
  • Returns compact JSON suitable for downstream scientific inference workflows.

When to use it

  • You need a local starter for Bayesian modeling in science workflows.
  • You want a minimal example of PyMC sampling and ArviZ-based posterior summarization.

Example

slurm/envs/statistics/bin/python skills/statistical-and-machine-learning-foundations-for-science/pymc-bayesian-linear-regression-starter/scripts/run_pymc_linear_regression.py \
  --input skills/statistical-and-machine-learning-foundations-for-science/pymc-bayesian-linear-regression-starter/examples/toy_observations.tsv \
  --out scratch/pymc/linear_regression_summary.json

Verification

  • Skill-local tests: python3 -m unittest discover -s skills/statistical-and-machine-learning-foundations-for-science/pymc-bayesian-linear-regression-starter/tests -p 'test_*.py'
  • Repository smoke: python3 -m unittest tests.smoke.test_frontier_domain_skills -v

What ships with it: 9 files

10.9 KB alongside SKILL.md, 2 of them executable

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.