You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 83c5494
Browse filesBrowse the repository at this point in the historyBrowse files
docs: full pre-release audit — every example executed, gaps filled
A fresh-eyes completeness pass over README, quickstart, the site, and
the binding READMEs, with every SQL block executed against the built
extension across Python, Node (node:sqlite, better-sqlite3, Drizzle),
SQLAlchemy, Rust, and the SQLite CLI.
Broken examples found by execution and fixed: the README installing
snippet still called the deleted forecast TVF; the README distill
examples fed a TEXT column as a feature (students are numeric-only,
now documented); quickstart printed literal \n in headers. Stale
claims corrected: sub-pca is not the anomaly default (theta-classic
is), backtest pins theta-classic and accepts only statistical ids or
auto, predict_ulid requires an ISO-8601 argument and is deterministic.
Gaps filled: accepted timestamp formats and whole-second flooring;
predict()'s row_ref convention (first apply column echoed, never a
feature; features match train columns by name); distill_forecast's
window-mode column layout (context then horizon*nquant, by position);
predict_register in the functions reference; the missing quantiles
option and training defaults; documented limits (2,097,152 max input
rows, context_limit defaults, predict's 100k-row/64-feature caps); and
the CLI page now names the GitHub release assets + SHA256SUMS and
warns that macOS /usr/bin/sqlite3 cannot .load. The PyPI page body
(bindings/python/README.md) loses its stale everpure title and wrong
import.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|`predict_version()`| the extension version string |
96
-
|`predict_ulid([ts])`|a fresh ULID, optionally seeded with an epoch-ms timestamp |
125
+
|`predict_ulid(ts)`|the smallest ULID for an ISO-8601 UTC timestamp: deterministic (the time component is set, the entropy bits are zero), useful as a range key|
97
126
|`predict_debug()`| build info: profile, compiled features, available runtimes |
127
+
|`predict_register(model_id, config)`| registers an external model in `_predict_models` and returns its content hash; `config` is a bare weights path or a JSON object (`runtime`, `kind`, `license`, `weights_uri`, `io_spec`, `target`). Registration is metadata only: executing an `onnx` model still needs the ONNX build |
98
128
99
129
See [Options](../options/) for the per-function option set and
Copy file name to clipboardExpand all lines: website/src/content/docs/reference/models.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,18 @@ bundled model ships in the zero-dependency core, no ONNX runtime required.
10
10
11
11
|`model`| Kind | Notes |
12
12
| --- | --- | --- |
13
-
|`theta-classic`| statistical | The Theta method. Default (`default-ts` aliases to it). Strong, cheap trend + seasonality baseline. |
13
+
|`auto`| meta | The default when no `model` is named. Rolling-origin backtests each candidate per series and forecasts with the lowest-error one. See [Auto-selection](../../guides/auto-and-conformal/). |
14
+
|`theta-classic`| statistical | The Theta method (`default-ts` aliases to it). Strong, cheap trend + seasonality baseline. |
14
15
|`stub-seasonal-naive`| statistical | Seasonal-naive with drift. The benchmark floor every forecasting paper reports against. |
|`auto`| meta | Rolling-origin backtests each candidate per series and forecasts with the lowest-error one. See [Auto-selection](../../guides/auto-and-conformal/). |
17
17
18
18
## Anomaly detection
19
19
20
20
|`model`| Kind | Notes |
21
21
| --- | --- | --- |
22
-
|`sub-pca`| statistical | Subsequence PCA (Jacobi eigensolver in C). Default detector; competitive with SOTA on the TSB-AD-U benchmark. |
22
+
|`theta-classic`| statistical | The default detector: flags points that fall outside the one-step-ahead forecast interval. |
23
+
|`stub-seasonal-naive`| statistical | The same residual detector over the seasonal-naive forecaster. |
24
+
|`sub-pca`| statistical | Subsequence PCA (Jacobi eigensolver in C); competitive with SOTA on the TSB-AD-U benchmark. Pick it with `'{"model":"sub-pca"}'`; its rows carry no interval fields. |
0 commit comments