public class LambdaTTF extends Lambda
totalTermFreq+1 / numberOfDocuments+1
.Constructor and Description |
---|
LambdaTTF()
Sole constructor: parameter-free
|
Modifier and Type | Method and Description |
---|---|
Explanation |
explain(BasicStats stats)
Explains the lambda parameter.
|
float |
lambda(BasicStats stats)
Computes the lambda parameter.
|
String |
toString()
Subclasses must override this method to return the code of the lambda
formula.
|
public final float lambda(BasicStats stats)
Lambda
public final Explanation explain(BasicStats stats)
Lambda
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.