uk.ac.gla.dcs.renaissance.iqir
Class WeightingScheme.SimpleTermStatistics
java.lang.Object
uk.ac.gla.dcs.renaissance.iqir.WeightingScheme.SimpleTermStatistics
- All Implemented Interfaces:
- WeightingScheme.TermStatistics
- Enclosing class:
- WeightingScheme
public static class WeightingScheme.SimpleTermStatistics
- extends Object
- implements WeightingScheme.TermStatistics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightingScheme.SimpleTermStatistics
public WeightingScheme.SimpleTermStatistics(File file,
int nbTerms)
throws FileNotFoundException
- Intialisation with a file that has three columns: the term, the mean
and the standard deviation
- Parameters:
file
- nbTerms
-
- Throws:
FileNotFoundException
WeightingScheme.SimpleTermStatistics
public WeightingScheme.SimpleTermStatistics(double[] mean,
double[] stddev)
size
public int size()
- Specified by:
size
in interface WeightingScheme.TermStatistics
getMean
public double getMean(int index)
- Specified by:
getMean
in interface WeightingScheme.TermStatistics
getStddev
public double getStddev(int index)
- Specified by:
getStddev
in interface WeightingScheme.TermStatistics
Copyright © 2011. All Rights Reserved.