@zukhruf/relevance-filtering 0.3.57 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -107,7 +107,7 @@ A keyword list puts the matches first, the newest first. The 95% interval of (pa
107
107
 
108
108
  ## Limits
109
109
 
110
- - The design is valid only with EmbeddingGemma 2, the vector text of event grouping (`title: <title> | text: <title>\n<lead>`) for the articles and the query prompt for the description. Another model gives another similarity scale.
110
+ - The design is valid only with EmbeddingGemma 2, the vector text of event detection (`title: <title> | text: <title>\n<lead>`) for the articles and the query prompt for the description. Another model gives another similarity scale.
111
111
  - The binormal model is fitted on the stream. A stream of a few articles gives a weak fit. The research streams held 1,600 to 1,700 articles.
112
112
  - When the answers are only the most similar articles of a large pool, the taught relevant similarities are far above the relevant articles of the stream. Then the probabilities are too low, and the yes/no threshold accepts too few articles. The order stays good.
113
113
  - With one relevant answer, the relevant standard deviation sits at its floor, and the keyword evidence sets most of the order.
@@ -122,7 +122,7 @@ Before you change a step of the design, read ADR 0002, and run `nx run relevance
122
122
  - [ADR 0002: The design is frozen by research round 6](./docs/adr/0002-the-design-is-frozen-by-research-round-6.md)
123
123
  - [ADR 0003: A keyword is a word start or a regular expression](./docs/adr/0003-a-keyword-is-a-word-start-or-a-regular-expression.md)
124
124
  - [ADR 0004: The reader ranks, and does not decide yes or no](./docs/adr/0004-the-reader-ranks-and-does-not-decide-yes-or-no.md)
125
- - [Code copied from the event-grouping eval](./docs/copied-code.md)
125
+ - [Code copied from the event-detection eval](./docs/copied-code.md)
126
126
 
127
127
  ## Recipes
128
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zukhruf/relevance-filtering",
3
- "version": "0.3.57",
3
+ "version": "0.4.0",
4
4
  "description": "Decides which articles of a stream match a reader's profile: embedding similarity to the profile's description, calibrated by a semi-supervised binormal model on the reader's yes and no answers, naive-Bayes keyword evidence and an expected-F0.5 threshold.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "devDependencies": {
43
- "@zukhruf/embeddings": "^0.3.57",
43
+ "@zukhruf/embeddings": "^0.4.0",
44
44
  "ai": "^7.0.154"
45
45
  }
46
46
  }