public class BasicModelP extends BasicModel
| Modifier and Type | Field and Description |
|---|---|
protected static double |
LOG2_E
log2(Math.E), precomputed. |
| Constructor and Description |
|---|
BasicModelP()
Sole constructor: parameter-free
|
| Modifier and Type | Method and Description |
|---|---|
float |
score(BasicStats stats,
float tfn)
Returns the informative content score.
|
String |
toString()
Subclasses must override this method to return the code of the
basic model formula.
|
explainpublic final float score(BasicStats stats, float tfn)
BasicModelscore in class BasicModelpublic String toString()
BasicModeltoString in class BasicModelCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.