|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectorg.apache.spark.ml.attribute.AttributeType
public abstract class AttributeType
:: DeveloperApi ::
An enum-like type for attribute types: AttributeType$.Numeric, AttributeType$.Nominal,
and AttributeType$.Binary.
| Constructor Summary | |
|---|---|
AttributeType(String name)
|
|
| Method Summary | |
|---|---|
static AttributeType |
Binary()
Binary type. |
static AttributeType |
fromName(String name)
Gets the AttributeType object from its name. |
String |
name()
|
static AttributeType |
Nominal()
Nominal type. |
static AttributeType |
Numeric()
Numeric type. |
static AttributeType |
Unresolved()
Unresolved type. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeType(String name)
| Method Detail |
|---|
public static AttributeType Numeric()
public static AttributeType Nominal()
public static AttributeType Binary()
public static AttributeType Unresolved()
public static AttributeType fromName(String name)
AttributeType object from its name.
name - attribute type name: "numeric", "nominal", or "binary"
public String name()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||