org.apache.spark.ml.attribute

NumericAttribute

class NumericAttribute extends Attribute

:: DeveloperApi :: A numeric attribute with optional summary statistics.

Annotations
@DeveloperApi()
Source
attributes.scala
Linear Supertypes
Attribute, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NumericAttribute
  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
    NumericAttributeAttribute
  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
    NumericAttribute → 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
    NumericAttribute → AnyRef → Any
  14. val index: Option[Int]

    optional index

    optional index

    Definition Classes
    NumericAttributeAttribute
  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
    NumericAttributeAttribute
  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
    NumericAttributeAttribute
  18. val max: Option[Double]

    optional max value

  19. val min: Option[Double]

    optional min value

  20. val name: Option[String]

    optional name

    optional name

    Definition Classes
    NumericAttributeAttribute
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. val sparsity: Option[Double]

    optional sparsity (ratio of zeros)

  25. val std: Option[Double]

    optional standard deviation

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toMetadata(): Metadata

    Converts to ML metadata

    Converts to ML metadata

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

    Converts to ML metadata with some existing metadata.

    Converts to ML metadata with some existing metadata.

    Definition Classes
    Attribute
  29. def toString(): String

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

    Converts to a StructField.

    Converts to a StructField.

    Definition Classes
    Attribute
  31. 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
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withIndex(index: Int): NumericAttribute

    Copy with a new index.

    Copy with a new index.

    Definition Classes
    NumericAttributeAttribute
  36. def withMax(max: Double): NumericAttribute

    Copy with a new max value.

  37. def withMin(min: Double): NumericAttribute

    Copy with a new min value.

  38. def withName(name: String): NumericAttribute

    Copy with a new name.

    Copy with a new name.

    Definition Classes
    NumericAttributeAttribute
  39. def withSparsity(sparsity: Double): NumericAttribute

    Copy with a new sparsity.

  40. def withStd(std: Double): NumericAttribute

    Copy with a new standard deviation.

  41. def withoutIndex: NumericAttribute

    Copy without the index.

    Copy without the index.

    Definition Classes
    NumericAttributeAttribute
  42. def withoutMax: NumericAttribute

    Copy without the max value.

  43. def withoutMin: NumericAttribute

    Copy without the min value.

  44. def withoutName: NumericAttribute

    Copy without the name.

    Copy without the name.

    Definition Classes
    NumericAttributeAttribute
  45. def withoutSparsity: NumericAttribute

    Copy without the sparsity.

  46. def withoutStd: NumericAttribute

    Copy without the standard deviation.

  47. def withoutSummary: NumericAttribute

    Copy without summary statistics.

Inherited from Attribute

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members