Class/Object

org.apache.spark.ml.attribute

BinaryAttribute

Related Docs: object BinaryAttribute | package attribute

Permalink

class BinaryAttribute extends Attribute

:: DeveloperApi :: A binary attribute.

Annotations
@DeveloperApi()
Source
attributes.scala
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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attrType: AttributeType

    Permalink

    Attribute type.

    Attribute type.

    Definition Classes
    BinaryAttributeAttribute
  6. def clone(): AnyRef

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

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

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

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

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

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

    Permalink

    optional index

    optional index

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

    Permalink
    Definition Classes
    Any
  14. def isNominal: Boolean

    Permalink

    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
  15. def isNumeric: Boolean

    Permalink

    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
  16. val name: Option[String]

    Permalink

    optional name

    optional name

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

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. def toMetadata(): Metadata

    Permalink

    Converts to ML metadata

    Converts to ML metadata

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

    Permalink

    Converts to ML metadata with some existing metadata.

    Converts to ML metadata with some existing metadata.

    Definition Classes
    Attribute
  23. def toString(): String

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

    Permalink

    Converts to a StructField.

    Converts to a StructField.

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

    Permalink

    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
  26. val values: Option[Array[String]]

    Permalink

    optional values.

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

  27. final def wait(): Unit

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

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

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

    Permalink

    Copy with a new index.

    Copy with a new index.

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

    Permalink

    Copy with a new name.

    Copy with a new name.

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

    Permalink

    Copy with new values.

    Copy with new values.

    negative

    name for negative

    positive

    name for positive

  33. def withoutIndex: BinaryAttribute

    Permalink

    Copy without the index.

    Copy without the index.

    Definition Classes
    BinaryAttributeAttribute
  34. def withoutName: BinaryAttribute

    Permalink

    Copy without the name.

    Copy without the name.

    Definition Classes
    BinaryAttributeAttribute
  35. def withoutValues: BinaryAttribute

    Permalink

    Copy without the values.

Inherited from Attribute

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members