Class RankFeatureSigmoidFunction
is an extension of saturation which adds a configurable exponent. Scores are computed as S^exp^ / (S^exp^ + pivot^exp^). Like for the saturation function, pivot is the value of S that gives a score of 0.5 and scores are in (0, 1).
exponent must be positive, but is typically in [0.5, 1]. A good value should be computed via training. If you don’t have the opportunity to do so, we recommend that you stick to the saturation function instead.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class RankFeatureSigmoidFunction : IRankFeatureSigmoidFunction, IRankFeatureFunction
Properties
| Edit this page View SourceExponent
The exponent. Must be positive
Declaration
public float Exponent { get; set; }
Property Value
Type | Description |
---|---|
float |
Pivot
Declaration
public float Pivot { get; set; }
Property Value
Type | Description |
---|---|
float |