Class RankFeatureSigmoidFunctionDescriptor
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.
Inheritance
RankFeatureSigmoidFunctionDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class RankFeatureSigmoidFunctionDescriptor : DescriptorBase<RankFeatureSigmoidFunctionDescriptor, IRankFeatureSigmoidFunction>, IDescriptor, IRankFeatureSigmoidFunction, IRankFeatureFunction
Methods
| Edit this page View SourceExponent(float)
The exponent. Must be positive
Declaration
public RankFeatureSigmoidFunctionDescriptor Exponent(float exponent)
Parameters
Type | Name | Description |
---|---|---|
float | exponent |
Returns
Type | Description |
---|---|
RankFeatureSigmoidFunctionDescriptor |
Pivot(float)
Declaration
public RankFeatureSigmoidFunctionDescriptor Pivot(float pivot)
Parameters
Type | Name | Description |
---|---|---|
float | pivot |
Returns
Type | Description |
---|---|
RankFeatureSigmoidFunctionDescriptor |