@model-match/api 3.112.0 → 3.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RELEASE_NOTES.md +4 -0
- package/dist/{index-C7ag4102.d.mts → index-D3G9n7FS.d.mts} +47 -384
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +3 -27
- package/dist/slim/index.mjs +3 -91
- package/dist/{src-wpXYQ_hb.mjs → src-Bja7DVkE.mjs} +1 -101
- package/openapi.json +405 -1271
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Changes to `@model-match/api` that affect how you use it. Each version is generated from the ModelMatch API's OpenAPI spec, so new endpoints and fields appear in the [API reference](https://docs.modelmatch.com/developers) as they ship.
|
|
4
4
|
|
|
5
|
+
## 3.113.0
|
|
6
|
+
|
|
7
|
+
- **`createStudioModel` can train wide and read local.** `widen: "auto"` trains a model of a few ZIP codes or counties on the smallest wider area with enough past cases and keeps the requested area as the model's `focus`. Scores cover the focus unless you pass `scoreArea: "training"`, which scores the whole area and marks focus rows with `inFocus`. Models now carry `focus` and `scoreArea`.
|
|
8
|
+
|
|
5
9
|
## 3.112.0
|
|
6
10
|
|
|
7
11
|
- **`createStudioModel` checks a small area first.** A model of a few ZIP codes or counties with too few past cases of the outcome is refused before training, free, with `422` and `code: "scope_too_small"`. `details.suggestedScope` is the smallest wider area with enough past cases (the county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's count. Send the suggested area as `scope`, or pass the new `widen: "off"` to train on the area as asked.
|