static final class FeatureField.LogFunction extends FeatureField.FeatureFunction
| Modifier and Type | Field and Description |
|---|---|
private float |
scalingFactor |
| Constructor and Description |
|---|
LogFunction(float a) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
(package private) Explanation |
explain(java.lang.String field,
java.lang.String feature,
float w,
int freq) |
int |
hashCode() |
(package private) Similarity.SimScorer |
scorer(float weight) |
java.lang.String |
toString() |
rewritepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectSimilarity.SimScorer scorer(float weight)
scorer in class FeatureField.FeatureFunctionExplanation explain(java.lang.String field, java.lang.String feature, float w, int freq)
explain in class FeatureField.FeatureFunction