brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
mixed_variable_diffusion_objectiveEncode mixed continuous and categorical variables and compute GSDM-style conditional diffusion denoising losses.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a GSDM recovery needs deterministic diffusion mechanics for mixed continuous and discrete variables: one-hot categorical encoding, arbitrary observation masks, forward noising, decoding, and masked x0 denoising loss.
Do not use this skill as a full neural diffusion implementation. It supplies the objective contract and small numerical helpers used by recovery and tests.
name, kind, and optional num_categories.x0 vector.xt vector.alpha_bar_t from the beta schedule.xt = sqrt(alpha_bar_t) * x0 + sqrt(1 - alpha_bar_t) * noise.python scripts/diffusion_objective.py --demo --output /tmp/gsdm_objective.json
python -m pytest tests
The tests cover categorical round-trips, the noising equation, and masked loss behavior.
The helpers use Python lists and floats for portability. They are intended for small recovery checks, not high-throughput training.