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
@@ -43,7 +43,12 @@ Sparse vector scoring options. The sparse scoring instance combines a sparse vec
43
43
44
44
Vector normalization normalizes all vectors to have a magnitude of 1. By extension, all generated scores will be 0 to 1.
45
45
46
-
Score normalization scales output scores by a scale factor. When `normalize` is set to `True` it uses a default scale factor. If `normalize` is an integer, then that is used as the scale factor. This scales the scores from 0 to 1.
46
+
Score normalization scales the output between 0 and 1. This setting supports:
47
+
48
+
- `True` for default scale normalization
49
+
- `float`normalize using this as the scale factor
50
+
- `"bayes"`for Bayesian normalization using dynamic candidate score statistics
51
+
- `{method: "bayes", alpha: 1.0, beta: null}` for Bayesian normalization with optional custom parameters
47
52
48
53
#### ivfsparse
49
54
```yaml
@@ -83,9 +88,8 @@ normalize: boolean|str|dict
83
88
84
89
Enables normalized scoring (ranging from 0 to 1). This setting supports:
85
90
86
-
- `true`for standard score normalization
87
-
- `"bayes"`for Bayesian normalization using dynamic candidate score statistics
88
-
- `"bb25"`alias for Bayesian BM25 (BB25) normalization
91
+
- `True`for standard score normalization
92
+
- `"bayes"`| `"bb25"` for Bayesian normalization using dynamic candidate score statistics
89
93
- `{method: "bayes", alpha: 1.0, beta: null}` for Bayesian normalization with optional custom parameters
90
94
91
95
When standard normalization is enabled, statistics from the index are used to calculate normalized scores.
0 commit comments