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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTypeBinary()Binary type.static AttributeTypeGets theAttributeTypeobject from its name.name()static AttributeTypeNominal()Nominal type.static AttributeTypeNumeric()Numeric type.static AttributeTypeUnresolved type.
-
Constructor Details
-
AttributeType
-
-
Method Details
-
Numeric
Numeric type. -
Nominal
Nominal type. -
Binary
Binary type. -
Unresolved
Unresolved type. -
fromName
Gets theAttributeTypeobject from its name.- Parameters:
name- attribute type name: "numeric", "nominal", or "binary"- Returns:
- (undocumented)
-
name
-