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