Skip to content
Back to skills

Reverse Sampling Posterior

ASecurity

Compute DDPM predicted x0 and reverse posterior statistics from predicted epsilon.

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill reverse_sampling_posterior --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reverse Sampling Posterior?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reverse Sampling Posterior
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-reverse-sampling-posterior/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-reverse-sampling-posterior)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: reverse_sampling_posterior
description: Compute DDPM predicted x0 and reverse posterior statistics from predicted epsilon.
---

# reverse_sampling_posterior

Use this skill when a recovery or implementation needs the DDPM mechanism from Ho et al. rather than a generic denoising routine.

## Inputs
Provide explicit numeric arrays or scalar fixtures, beta schedule parameters, timestep ids, and any predictor parameters required by the module. Inputs must not come from the original source repository during recovery.

## Outputs
Return deterministic JSON-serializable numeric evidence: coefficients, sampled noisy values, losses, posterior statistics, or recovery traces depending on the module.

## Workflow
1. Validate schedule length, beta range, shapes, and timestep bounds.
2. Execute the module's DDPM equation directly with deterministic fixtures when possible.
3. Record enough intermediate values for downstream recovery checks.
4. Keep full-result claims separate from reduced/proxy evidence.

## Validation
Run `python -m pytest tests` or `python scripts/ddpm_utils.py` from this skill directory. The bundled tests use only the Python standard library.

## Limitations
This skill captures the transferable paper mechanism and small deterministic tests. It does not include the original TensorFlow model, cloud data pipeline, or pretrained CIFAR-10 checkpoints.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…