Class RankFeatureLogarithmFunctionDescriptor
Gives a score that is equal to log(scaling_factor + S) where S is the value of the rank feature and scaling_factor is a configurable scaling factor. Scores are unbounded. This function only supports rank features that have a positive score impact.
Inheritance
RankFeatureLogarithmFunctionDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class RankFeatureLogarithmFunctionDescriptor : DescriptorBase<RankFeatureLogarithmFunctionDescriptor, IRankFeatureLogarithmFunction>, IDescriptor, IRankFeatureLogarithmFunction, IRankFeatureFunction
Methods
| Edit this page View SourceScalingFactor(float)
The scaling factor
Declaration
public RankFeatureLogarithmFunctionDescriptor ScalingFactor(float scalingFactor)
Parameters
Type | Name | Description |
---|---|---|
float | scalingFactor |
Returns
Type | Description |
---|---|
RankFeatureLogarithmFunctionDescriptor |