Package org.apache.spark.ml.attribute
Class AttributeType
Object
org.apache.spark.ml.attribute.AttributeType
An enum-like type for attribute types:
AttributeType$.Numeric
, AttributeType$.Nominal
,
and AttributeType$.Binary
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeType
Binary()
Binary type.static AttributeType
Gets theAttributeType
object from its name.name()
static AttributeType
Nominal()
Nominal type.static AttributeType
Numeric()
Numeric type.static AttributeType
Unresolved type.
-
Constructor Details
-
AttributeType
-
-
Method Details
-
Numeric
Numeric type. -
Nominal
Nominal type. -
Binary
Binary type. -
Unresolved
Unresolved type. -
fromName
Gets theAttributeType
object from its name.- Parameters:
name
- attribute type name: "numeric", "nominal", or "binary"- Returns:
- (undocumented)
-
name
-