Fixed exponent value in explain of SigmoidFunction (#13691)

* Fixed exponent in explain of SigmoidFunction

Signed-off-by: Owais <owaiskazi19@gmail.com>

* Updated CHANGES.txt

Signed-off-by: Owais <owaiskazi19@gmail.com>

---------

Signed-off-by: Owais <owaiskazi19@gmail.com>
This commit is contained in:
Owais Kazi 2024-08-27 13:12:58 -07:00 committed by GitHub
parent 054295fd38
commit 0f5359a2ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -403,6 +403,8 @@ Bug Fixes
* GITHUB#13627: Fix race condition on flush for DWPT seqNo generation. (Ben Trent, Ao Li)
* GITHUB#13691: Fix incorrect exponent value in explain of SigmoidFunction. (Owais Kazi)
Other
--------------------
(No changes)

View File

@ -475,7 +475,7 @@ public final class FeatureField extends Field {
Explanation.match(
pivot, "k, pivot feature value that would give a score contribution equal to w/2"),
Explanation.match(
pivot,
a,
"a, exponent, higher values make the function grow slower before k and faster after k"),
Explanation.match(featureValue, "S, feature value"));
}