classification
Class CompleteFeatureFunction
java.lang.Object
classification.CompleteFeatureFunction
- All Implemented Interfaces:
- Serializable, FeatureFunction
public class CompleteFeatureFunction
- extends Object
- implements FeatureFunction, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defalutFeatureIndex
public int defalutFeatureIndex
- this is the last feature for each y
CompleteFeatureFunction
public CompleteFeatureFunction(Alphabet xAlphabet,
Alphabet yAlphabet)
apply
public SparseVector apply(SparseVector x,
int y)
- Specified by:
apply
in interface FeatureFunction
wSize
public int wSize()
- Specified by:
wSize
in interface FeatureFunction
Copyright © 2009. All Rights Reserved.