Class RankFeatureSaturationFunctionDescriptor
Gives a score that is equal to S / (S + pivot) where S is the value of the rank feature and pivot is a configurable pivot value so that the result will be less than 0.5 if S is less than pivot and greater than 0.5 otherwise. Scores are always is (0, 1). If the rank feature has a negative score impact then the function will be computed as pivot / (S + pivot), which decreases when S increases.
Inheritance
RankFeatureSaturationFunctionDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class RankFeatureSaturationFunctionDescriptor : DescriptorBase<RankFeatureSaturationFunctionDescriptor, IRankFeatureSaturationFunction>, IDescriptor, IRankFeatureSaturationFunction, IRankFeatureFunction
Methods
| Edit this page View SourcePivot(float?)
Declaration
public RankFeatureSaturationFunctionDescriptor Pivot(float? pivot)
Parameters
Type | Name | Description |
---|---|---|
float? | pivot |
Returns
Type | Description |
---|---|
RankFeatureSaturationFunctionDescriptor |