Package weka.core
Enum Class Capabilities.Capability
- All Implemented Interfaces:
Serializable
,Comparable<Capabilities.Capability>
,Constable
- Enclosing class:
- Capabilities
enumeration of all capabilities
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptioncan handle binary attributescan handle binary classescan handle date attributescan handle date classescan handle empty nominal attributescan handle empty nominal classescan handle missing values in class attributecan handle missing values in attributescan handle data without class attribute, eg clustererscan handle nominal attributescan handle nominal classescan handle numeric attributescan handle numeric classescan handle multi-instance datacan handle relational attributescan handle relational classescan handle string attributescan handle string classescan handle unary attributescan handle unary classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
returns true if the capability is an attributeboolean
returns true if the capability is an attribute capabilityboolean
isClass()
returns true if the capability is a classboolean
returns true if the capability is a other capabilityboolean
returns true if the capability is a class capabilitytoString()
returns the display string of the capabilitystatic Capabilities.Capability
Returns the enum constant of this class with the specified name.static Capabilities.Capability[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
NOMINAL_ATTRIBUTES
can handle nominal attributes -
BINARY_ATTRIBUTES
can handle binary attributes -
UNARY_ATTRIBUTES
can handle unary attributes -
EMPTY_NOMINAL_ATTRIBUTES
can handle empty nominal attributes -
NUMERIC_ATTRIBUTES
can handle numeric attributes -
DATE_ATTRIBUTES
can handle date attributes -
STRING_ATTRIBUTES
can handle string attributes -
RELATIONAL_ATTRIBUTES
can handle relational attributes -
MISSING_VALUES
can handle missing values in attributes -
NO_CLASS
can handle data without class attribute, eg clusterers -
NOMINAL_CLASS
can handle nominal classes -
BINARY_CLASS
can handle binary classes -
UNARY_CLASS
can handle unary classes -
EMPTY_NOMINAL_CLASS
can handle empty nominal classes -
NUMERIC_CLASS
can handle numeric classes -
DATE_CLASS
can handle date classes -
STRING_CLASS
can handle string classes -
RELATIONAL_CLASS
can handle relational classes -
MISSING_CLASS_VALUES
can handle missing values in class attribute -
ONLY_MULTIINSTANCE
can handle multi-instance data
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isAttribute
public boolean isAttribute()returns true if the capability is an attribute- Returns:
- true if the capability is an attribute
-
isClass
public boolean isClass()returns true if the capability is a class- Returns:
- true if the capability is a class
-
isAttributeCapability
public boolean isAttributeCapability()returns true if the capability is an attribute capability- Returns:
- true if the capability is an attribute capability
-
isOtherCapability
public boolean isOtherCapability()returns true if the capability is a class capability- Returns:
- true if the capability is a class capability
-
isClassCapability
public boolean isClassCapability()returns true if the capability is a other capability- Returns:
- true if the capability is a other capability
-
toString
returns the display string of the capability- Overrides:
toString
in classEnum<Capabilities.Capability>
- Returns:
- the display string
-