|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WeightingScheme.Scheme>
uk.ac.gla.dcs.renaissance.iqir.WeightingScheme.Scheme
public static enum WeightingScheme.Scheme
Enum Constant Summary | |
---|---|
BINARY
Term presence - absence |
|
BM25
BM25 with standard parameters |
|
FisherLMDirichlet
Fisher kernel with Dirichlet smoothed LM |
|
FULL_NORMALISED
Normalised (centred and with unit variance) |
|
NORMALISED
Normalised (centred and with unit variance) |
|
NTF
Normalised frequency: TF / DL |
|
TF
Simple term frequency |
|
TFIDF
TF * log(idf) |
Method Summary | |
---|---|
boolean |
needsDF()
Check if this weighting scheme needs document frequencies |
boolean |
needsGlobalTF()
|
boolean |
needsMeanAndStandardDeviation()
|
static WeightingScheme.Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WeightingScheme.Scheme[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WeightingScheme.Scheme TF
public static final WeightingScheme.Scheme TFIDF
public static final WeightingScheme.Scheme NTF
public static final WeightingScheme.Scheme BINARY
public static final WeightingScheme.Scheme BM25
public static final WeightingScheme.Scheme FisherLMDirichlet
public static final WeightingScheme.Scheme NORMALISED
public static final WeightingScheme.Scheme FULL_NORMALISED
Method Detail |
---|
public static WeightingScheme.Scheme[] values()
for (WeightingScheme.Scheme c : WeightingScheme.Scheme.values()) System.out.println(c);
public static WeightingScheme.Scheme valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean needsDF()
public boolean needsMeanAndStandardDeviation()
public boolean needsGlobalTF()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |