public class TaggerFeature extends Feature
indexedValues, instanceIndex, sum
Modifier | Constructor and Description |
---|---|
protected |
TaggerFeature(int start,
int end,
FeatureKey key,
int yTag,
TaggerExperiments domain) |
Modifier and Type | Method and Description |
---|---|
double |
ftilde() |
double |
getVal(int index)
Get the value at the index-ed non zero value pair (x,y)
|
double |
getVal(int x,
int y)
This is rarely used because it is slower and requires initHashVals() to be called beforehand
to initialize the hashValues.
|
int |
getX(int index) |
int |
getY(int index) |
int |
getYTag() |
int |
len() |
protected TaggerFeature(int start, int end, FeatureKey key, int yTag, TaggerExperiments domain)
public double getVal(int index)
Feature
public int getY(int index)
public int getX(int index)
public int getYTag()
public double getVal(int x, int y)
Feature