|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.similarities.Distribution
org.apache.lucene.search.similarities.DistributionSPL
public class DistributionSPL
The smoothed power-law (SPL) distribution for the information-based framework that is described in the original paper.
Unlike for DFR, the natural logarithm is used, as it is faster to compute and the original paper does not express any preference to a specific base.
Constructor Summary | |
---|---|
DistributionSPL()
Sole constructor: parameter-free |
Method Summary | |
---|---|
float |
score(BasicStats stats,
float tfn,
float lambda)
Computes the score. |
String |
toString()
Subclasses must override this method to return the name of the distribution. |
Methods inherited from class org.apache.lucene.search.similarities.Distribution |
---|
explain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DistributionSPL()
Method Detail |
---|
public final float score(BasicStats stats, float tfn, float lambda)
Distribution
score
in class Distribution
public String toString()
Distribution
toString
in class Distribution
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |