- java.lang.Object
-
- org.apache.lucene.document.FeatureField.FeatureFunction
-
- org.apache.lucene.document.FeatureField.SigmoidFunction
-
- Enclosing class:
- FeatureField
static final class FeatureField.SigmoidFunction extends FeatureField.FeatureFunction
-
-
Constructor Summary
Constructors Constructor Description SigmoidFunction(float pivot, float a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
(package private) Explanation
explain(java.lang.String field, java.lang.String feature, float weight, int freq)
int
hashCode()
(package private) Similarity.SimScorer
scorer(float weight)
java.lang.String
toString()
-
Methods inherited from class org.apache.lucene.document.FeatureField.FeatureFunction
rewrite
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
scorer
Similarity.SimScorer scorer(float weight)
- Specified by:
scorer
in classFeatureField.FeatureFunction
-
explain
Explanation explain(java.lang.String field, java.lang.String feature, float weight, int freq)
- Specified by:
explain
in classFeatureField.FeatureFunction
-
-