org.apache.spark.ml.attribute

BinaryAttribute

class BinaryAttribute extends Attribute

:: DeveloperApi :: A binary attribute.

Annotations
@DeveloperApi()
Linear Supertypes
Attribute, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BinaryAttribute
  2. Attribute
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def attrType: AttributeType

    Attribute type.

    Attribute type.

    Definition Classes
    BinaryAttributeAttribute
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(other: Any): Boolean

    Definition Classes
    BinaryAttribute → AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    BinaryAttribute → AnyRef → Any
  14. val index: Option[Int]

    optional index

    optional index

    Definition Classes
    BinaryAttributeAttribute
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def isNominal: Boolean

    Tests whether this attribute is nominal, true for NominalAttribute and BinaryAttribute.

    Tests whether this attribute is nominal, true for NominalAttribute and BinaryAttribute.

    Definition Classes
    BinaryAttributeAttribute
  17. def isNumeric: Boolean

    Tests whether this attribute is numeric, true for NumericAttribute and BinaryAttribute.

    Tests whether this attribute is numeric, true for NumericAttribute and BinaryAttribute.

    Definition Classes
    BinaryAttributeAttribute
  18. val name: Option[String]

    optional name

    optional name

    Definition Classes
    BinaryAttributeAttribute
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toMetadata(): Metadata

    Converts to ML metadata

    Converts to ML metadata

    Definition Classes
    Attribute
  24. def toMetadata(existingMetadata: Metadata): Metadata

    Converts to ML metadata with some existing metadata.

    Converts to ML metadata with some existing metadata.

    Definition Classes
    Attribute
  25. def toString(): String

    Definition Classes
    Attribute → AnyRef → Any
  26. def toStructField(): StructField

    Converts to a StructField.

    Converts to a StructField.

    Definition Classes
    Attribute
  27. def toStructField(existingMetadata: Metadata): StructField

    Converts to a StructField with some existing metadata.

    Converts to a StructField with some existing metadata.

    existingMetadata

    existing metadata to carry over

    Definition Classes
    Attribute
  28. val values: Option[Array[String]]

    optionla values.

    optionla values. If set, its size must be 2.

  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withIndex(index: Int): BinaryAttribute

    Copy with a new index.

    Copy with a new index.

    Definition Classes
    BinaryAttributeAttribute
  33. def withName(name: String): BinaryAttribute

    Copy with a new name.

    Copy with a new name.

    Definition Classes
    BinaryAttributeAttribute
  34. def withValues(negative: String, positive: String): BinaryAttribute

    Copy with new values.

    Copy with new values.

    negative

    name for negative

    positive

    name for positive

  35. def withoutIndex: BinaryAttribute

    Copy without the index.

    Copy without the index.

    Definition Classes
    BinaryAttributeAttribute
  36. def withoutName: BinaryAttribute

    Copy without the name.

    Copy without the name.

    Definition Classes
    BinaryAttributeAttribute
  37. def withoutValues: BinaryAttribute

    Copy without the values.

Inherited from Attribute

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members