Differentiable temporal alignment and reference-prototype fitting in pure MoonBit.
moon check --target all --deny-warn
moon test --target wasm-gc --deny-warn
moon run cmd/demo --target js
moon run cmd/calibrate --target js
node scripts/build.mjs
node bin/warpfit.mjs examples/prototype.json
node bin/warpfit.mjs examples/training.json --out result.json
node bin/warpfit.mjs examples/retrieval.json
node scripts/serve.mjs| 使用者及问题 | 输入 / 操作 | 可验证输出 |
|---|---|---|
| 传感器 / 重复动作模板开发者:不同节奏无法直接按下标平均 | 两条不同长度观测、四点 seed;运行 examples/prototype.json | 返回四点模板、每步目标、停止原因、评估 / 工作量;固定合成例目标从 6.7241967 降至 0.08787918 |
| 时序模型开发者:需要能更新预测参数的损失 | 二维预测 / 目标运行 examples/training.json;cmd/calibrate 展示梯度接入独立增益 / 偏置模型 | 返回双方同形梯度与占用矩阵;校准示例目标从 1.1964749 降至 0.4136583,链式梯度有有限差分检查 |
| 离线数值应用开发者:要比较查询周期和候选形状 | 查询、三个候选、统一 gamma;运行 examples/retrieval.json | 全候选评分后返回排序,相同序列第一;不将分数当作分类概率 |
python verify.py
python exhaustive_oracle.py
moon fmt
node --test tests/cli.test.mjs tests/numerical.test.mjs
node scripts/benchmark.mjs
Install
Download zipDifferentiable temporal alignment and reference-prototype fitting in pure MoonBit.