|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.washington.cs.knowitall.extractor.conf.WekaBooleanFeatureSet<T>
T
- public class WekaBooleanFeatureSet<T>
Used for converting an object of type T
into a Weka
Instance
object.
Constructor Summary | |
---|---|
WekaBooleanFeatureSet(BooleanFeatureSet<T> featureSet)
Constructs a new Weka feature set from the given feature set. |
Method Summary | |
---|---|
weka.core.FastVector |
getAttributesCopy()
|
weka.core.Instance |
getInstanceFrom(T object)
Returns the feature representation of the given object as a Weka Instance object. |
weka.core.Instance |
getInstanceFrom(T object,
int label)
Returns the feature representation of the given object as a Weka Instance object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WekaBooleanFeatureSet(BooleanFeatureSet<T> featureSet)
featureSet
- Method Detail |
---|
public weka.core.FastVector getAttributesCopy()
public weka.core.Instance getInstanceFrom(T object)
Instance
object. Does not add a class value attribute
to the instance object.
object
-
public weka.core.Instance getInstanceFrom(T object, int label)
Instance
object. Sets the class attribute to the given
label.
object
- label
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |