|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.similarities.Distribution
public abstract class Distribution
The probabilistic distribution used to model term occurrence in information-based models.
IBSimilarity
Constructor Summary | |
---|---|
Distribution()
Sole constructor. |
Method Summary | |
---|---|
Explanation |
explain(BasicStats stats,
float tfn,
float lambda)
Explains the score. |
abstract float |
score(BasicStats stats,
float tfn,
float lambda)
Computes the score. |
abstract String |
toString()
Subclasses must override this method to return the name of the distribution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Distribution()
Method Detail |
---|
public abstract float score(BasicStats stats, float tfn, float lambda)
public Explanation explain(BasicStats stats, float tfn, float lambda)
tfn
and lambda
are explained elsewhere.
public abstract String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |