@model-match/api 3.83.3 → 3.84.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 +9 -0
- package/dist/{index-Czz2g3jb.d.mts → index-CXVjN2YB.d.mts} +105 -30
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +3 -3
- package/dist/slim/index.mjs +2 -2
- package/dist/{src-B2K7EFVL.mjs → src-ANf3s8EA.mjs} +1 -1
- package/openapi.json +290 -30
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.84.0
|
|
6
|
+
|
|
7
|
+
- **Studio models can be weighted** (`createStudioModel`, all optional):
|
|
8
|
+
- `recencyWeighting` (`off`, `moderate`, `strong`): recent past cases count more while the model learns. The model is still tested on later cases, each counted once, so the report card stays honest.
|
|
9
|
+
- `direction` on a picked data point (`increasing` or `decreasing`): the model is held to it. Number data points only (`acceptsDirection` on getStudioModelOptions), or number and date columns of your own table; otherwise `400 direction_not_allowed`.
|
|
10
|
+
- `boosts` (up to 5): `{ when: { column, in | notIn | gte | lte | onOrAfter | onOrBefore }, multiply }` on a column of the scores table (`zipCode`, `city`, `lastLoanAmount`, `lastLoanDate`), applied after the model. The scores table gains `priorityScore`, `priorityRank` and `priorityMultiplier`; `score` and the report card are unchanged. Otherwise `400 invalid_boost`.
|
|
11
|
+
- The model shows `recencyWeighting` and `boosts`, and its report card a `weighting` block. getStudioModelOptions adds `weighting`.
|
|
12
|
+
- A boost on ZIP code or city, or a direction rule on neighborhood data, needs neighborhood data enabled like neighborhood data points: otherwise `403 entitlement_missing`, with `details.boostColumns` and `details.directionRules`.
|
|
13
|
+
|
|
5
14
|
## 3.83.3
|
|
6
15
|
|
|
7
16
|
- Regenerated from the latest API spec. No changes to the client itself.
|