public abstract class BasicModel extends Object
DFRSimilarity
Constructor and Description |
---|
BasicModel()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract Explanation |
explain(BasicStats stats,
double tfn,
double aeTimes1pTfn)
Returns an explanation for the score.
|
abstract double |
score(BasicStats stats,
double tfn,
double aeTimes1pTfn)
Returns the informative content score combined with the after effect, more specifically
informationContentScore * aeTimes1pTfn / (1 + tfn) . |
abstract String |
toString()
Subclasses must override this method to return the code of the
basic model formula.
|
public BasicModel()
public abstract double score(BasicStats stats, double tfn, double aeTimes1pTfn)
informationContentScore * aeTimes1pTfn / (1 + tfn)
. This function must be
non-decreasing with tfn
.public abstract Explanation explain(BasicStats stats, double tfn, double aeTimes1pTfn)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.