public class DistributionLL extends Distribution
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 and Description |
|---|
DistributionLL()
Sole constructor: parameter-free
|
| Modifier and Type | Method and Description |
|---|---|
double |
score(BasicStats stats,
double tfn,
double lambda)
Computes the score.
|
String |
toString()
Subclasses must override this method to return the name of the
distribution.
|
explainpublic final double score(BasicStats stats, double tfn, double lambda)
Distributionscore in class Distributionpublic String toString()
DistributiontoString in class DistributionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.