技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
pinn_residual_objective【数据与研究】Compute PINN data, boundary, and PDE residual losses for reduced failure-mode experiments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery harness must exercise the paper's soft PDE-constraint mechanism. Do not replace it with plain supervised error; the residual term is the central object being tested.
periodic_pde_benchmark.u_t + beta*u_x for the chosen surrogate.initial + boundary + residual_weight * residual.Run python scripts/objective.py <benchmark.json> --speed 1 --beta 30 after creating a benchmark JSON, then run the tests in tests/.
The included deterministic script supports analytic sinusoidal convection surrogates. Larger neural PINN implementations should preserve the same loss-field names and residual semantics.