Class/Object

org.apache.spark.ml.attribute

NumericAttribute

Related Docs: object NumericAttribute | package attribute

Permalink

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
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
    NumericAttributeAttribute
  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
    NumericAttribute → 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
    NumericAttribute → AnyRef → Any
  12. val index: Option[Int]

    Permalink

    optional index

    optional index

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

    Permalink

    optional max value

  17. val min: Option[Double]

    Permalink

    optional min value

  18. val name: Option[String]

    Permalink

    optional name

    optional name

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val sparsity: Option[Double]

    Permalink

    optional sparsity (ratio of zeros)

  23. val std: Option[Double]

    Permalink

    optional standard deviation

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

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

    Permalink

    Converts to ML metadata

    Converts to ML metadata

    Definition Classes
    Attribute
  26. 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
  27. def toString(): String

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

    Permalink

    Converts to a StructField.

    Converts to a StructField.

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

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

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

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

    Permalink

    Copy with a new index.

    Copy with a new index.

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

    Permalink

    Copy with a new max value.

  35. def withMin(min: Double): NumericAttribute

    Permalink

    Copy with a new min value.

  36. def withName(name: String): NumericAttribute

    Permalink

    Copy with a new name.

    Copy with a new name.

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

    Permalink

    Copy with a new sparsity.

  38. def withStd(std: Double): NumericAttribute

    Permalink

    Copy with a new standard deviation.

  39. def withoutIndex: NumericAttribute

    Permalink

    Copy without the index.

    Copy without the index.

    Definition Classes
    NumericAttributeAttribute
  40. def withoutMax: NumericAttribute

    Permalink

    Copy without the max value.

  41. def withoutMin: NumericAttribute

    Permalink

    Copy without the min value.

  42. def withoutName: NumericAttribute

    Permalink

    Copy without the name.

    Copy without the name.

    Definition Classes
    NumericAttributeAttribute
  43. def withoutSparsity: NumericAttribute

    Permalink

    Copy without the sparsity.

  44. def withoutStd: NumericAttribute

    Permalink

    Copy without the standard deviation.

  45. def withoutSummary: NumericAttribute

    Permalink

    Copy without summary statistics.

Inherited from Attribute

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members