public abstract class Distribution
extends
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 |
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.public abstract toString()
in class
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.