public class BasicModelIn extends BasicModel
Constructor and Description |
---|
BasicModelIn()
Sole constructor: parameter-free
|
Modifier and Type | Method and Description |
---|---|
Explanation |
explain(BasicStats stats,
float tfn)
Returns an explanation for the score.
|
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.
|
public final float score(BasicStats stats, float tfn)
BasicModel
score
in class BasicModel
public final Explanation explain(BasicStats stats, float tfn)
BasicModel
Most basic models use the number of documents and the total term frequency to compute Inf1. This method provides a generic explanation for such models. Subclasses that use other statistics must override this method.
explain
in class BasicModel
public String toString()
BasicModel
toString
in class BasicModel
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.