public abstract class Distribution extends Object
IBSimilarity
Constructor and Description |
---|
Distribution()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
Explanation |
explain(BasicStats stats,
double tfn,
double lambda)
Explains the score.
|
abstract double |
score(BasicStats stats,
double tfn,
double lambda)
Computes the score.
|
abstract String |
toString()
Subclasses must override this method to return the name of the
distribution.
|
public Distribution()
public abstract double score(BasicStats stats, double tfn, double lambda)
public Explanation explain(BasicStats stats, double tfn, double lambda)
tfn
and lambda
are explained elsewhere.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.