Class RankFeatureQueryBuilder.ScoreFunction.Sigmoid
java.lang.Object
org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction
org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction.Sigmoid
- Enclosing class:
RankFeatureQueryBuilder.ScoreFunction
public static class RankFeatureQueryBuilder.ScoreFunction.Sigmoid
extends RankFeatureQueryBuilder.ScoreFunction
A scoring function that scores documents as
S^exp / (S^exp + pivot^exp)
where S is the value of the static feature.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction
RankFeatureQueryBuilder.ScoreFunction.Linear, RankFeatureQueryBuilder.ScoreFunction.Log, RankFeatureQueryBuilder.ScoreFunction.Saturation, RankFeatureQueryBuilder.ScoreFunction.Sigmoid -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Sigmoid
public Sigmoid(float pivot, float exp)
-
-
Method Details
-
equals
-
hashCode
-