public class JMSmoother extends AbstractSmoother implements Smoother
Linear interpolation smoother
Copyright: Copyright (c) 2005
Company: IST, Drexel University
docFirstOptimal, querytermFirstOptimal, queryWeight, useLog| Constructor and Description |
|---|
JMSmoother(IRCollection collection,
double bkgCoefficient) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeSmoothedProb(int termFreq) |
void |
setDoc(IRDoc doc)
Set the current document for processing
|
boolean |
setParameters(double[] params) |
void |
setQueryTerm(SimpleTermPredicate queryTerm)
Set the current query term for processing
|
getLogLikelihoodOption, getProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, isDocFirstOptimal, isQueryTermFirstOptimal, setLogLikelihoodOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogLikelihoodOption, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, isDocFirstOptimal, isQueryTermFirstOptimal, setLogLikelihoodOptionpublic JMSmoother(IRCollection collection, double bkgCoefficient)
public boolean setParameters(double[] params)
setParameters in interface Smootherparams - paramteres for the current smootherpublic void setQueryTerm(SimpleTermPredicate queryTerm)
SmoothersetQueryTerm in interface SmootherqueryTerm - the query termpublic void setDoc(IRDoc doc)
Smootherprotected double computeSmoothedProb(int termFreq)
computeSmoothedProb in class AbstractSmootherCopyright © 2018 JULIE Lab, Germany. All rights reserved.