程序包 weka.core
Enum Class Capabilities.Capability
- 所有已实现的接口:
Serializable
,Comparable<Capabilities.Capability>
,Constable
- 封闭类:
- Capabilities
enumeration of all capabilities
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量枚举常量说明can 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 -
方法概要
修饰符和类型方法说明boolean
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.从类继承的方法 java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
枚举常量详细资料
-
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
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- 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.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-
isAttribute
public boolean isAttribute()returns true if the capability is an attribute- 返回:
- true if the capability is an attribute
-
isClass
public boolean isClass()returns true if the capability is a class- 返回:
- true if the capability is a class
-
isAttributeCapability
public boolean isAttributeCapability()returns true if the capability is an attribute capability- 返回:
- true if the capability is an attribute capability
-
isOtherCapability
public boolean isOtherCapability()returns true if the capability is a class capability- 返回:
- true if the capability is a class capability
-
isClassCapability
public boolean isClassCapability()returns true if the capability is a other capability- 返回:
- true if the capability is a other capability
-
toString
returns the display string of the capability- 覆盖:
toString
在类中Enum<Capabilities.Capability>
- 返回:
- the display string
-