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() |
rewrite
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Similarity.SimScorer scorer(float weight)
scorer
in class FeatureField.FeatureFunction
Explanation explain(java.lang.String field, java.lang.String feature, float w, int freq)
explain
in class FeatureField.FeatureFunction