public class TypedAttribute
extends weka.core.Attribute
ARFF_ATTRIBUTE, ARFF_ATTRIBUTE_DATE, ARFF_ATTRIBUTE_INTEGER, ARFF_ATTRIBUTE_NUMERIC, ARFF_ATTRIBUTE_REAL, ARFF_ATTRIBUTE_RELATIONAL, ARFF_ATTRIBUTE_STRING, ARFF_END_SUBRELATION, DATE, NOMINAL, NUMERIC, ORDERING_MODULO, ORDERING_ORDERED, ORDERING_SYMBOLIC, RELATIONAL, STRING| Constructor and Description |
|---|
TypedAttribute(String name,
weka.core.FastVector values,
int index,
Class c) |
TypedAttribute(String name,
int index,
Class c) |
| Modifier and Type | Method and Description |
|---|---|
static TypedAttribute |
getBooleanAttribute(String name,
int index) |
Class |
getClassType() |
static <E extends Enum<E>> |
getEnumAttribute(String name,
int index,
Class<E> enumClass) |
static TypedAttribute |
getNumericAttribute(String name,
int index) |
static TypedAttribute |
getStringAttribute(String name,
int index) |
addRelation, addStringValue, addStringValue, copy, copy, enumerateValues, equals, formatDate, getDateFormat, getLowerNumericBound, getMetadata, getRevision, getUpperNumericBound, hasZeropoint, index, indexOfValue, isAveragable, isDate, isInRange, isNominal, isNumeric, isRegular, isRelationValued, isString, lowerNumericBoundIsOpen, main, name, numValues, ordering, parseDate, relation, relation, setWeight, toString, type, upperNumericBoundIsOpen, value, weightpublic Class getClassType()
public static TypedAttribute getNumericAttribute(String name, int index)
public static TypedAttribute getBooleanAttribute(String name, int index)
public static <E extends Enum<E>> TypedAttribute getEnumAttribute(String name, int index, Class<E> enumClass)
public static TypedAttribute getStringAttribute(String name, int index)
Copyright © 2012 David Milne. All Rights Reserved.