class NumericAttribute extends Attribute
A numeric attribute with optional summary statistics.
- Alphabetic
- By Inheritance
- NumericAttribute
- Attribute
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attrType: AttributeType
Attribute type.
Attribute type.
- Definition Classes
- NumericAttribute → Attribute
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- NumericAttribute → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- NumericAttribute → AnyRef → Any
-
val
index: Option[Int]
Index of the attribute.
Index of the attribute. None if it is not set.
- Definition Classes
- NumericAttribute → Attribute
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- NumericAttribute → Attribute
-
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
- NumericAttribute → Attribute
- val max: Option[Double]
- val min: Option[Double]
-
val
name: Option[String]
Name of the attribute.
Name of the attribute. None if it is not set.
- Definition Classes
- NumericAttribute → Attribute
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val sparsity: Option[Double]
- val std: Option[Double]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toMetadata(): Metadata
Converts to ML metadata
Converts to ML metadata
- Definition Classes
- Attribute
-
def
toMetadata(existingMetadata: Metadata): Metadata
Converts to ML metadata with some existing metadata.
Converts to ML metadata with some existing metadata.
- Definition Classes
- Attribute
-
def
toString(): String
- Definition Classes
- Attribute → AnyRef → Any
-
def
toStructField(): StructField
Converts to a
StructField
.Converts to a
StructField
.- Definition Classes
- Attribute
-
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withIndex(index: Int): NumericAttribute
Copy with a new index.
Copy with a new index.
- Definition Classes
- NumericAttribute → Attribute
-
def
withMax(max: Double): NumericAttribute
Copy with a new max value.
-
def
withMin(min: Double): NumericAttribute
Copy with a new min value.
-
def
withName(name: String): NumericAttribute
Copy with a new name.
Copy with a new name.
- Definition Classes
- NumericAttribute → Attribute
-
def
withSparsity(sparsity: Double): NumericAttribute
Copy with a new sparsity.
-
def
withStd(std: Double): NumericAttribute
Copy with a new standard deviation.
-
def
withoutIndex: NumericAttribute
Copy without the index.
Copy without the index.
- Definition Classes
- NumericAttribute → Attribute
-
def
withoutMax: NumericAttribute
Copy without the max value.
-
def
withoutMin: NumericAttribute
Copy without the min value.
-
def
withoutName: NumericAttribute
Copy without the name.
Copy without the name.
- Definition Classes
- NumericAttribute → Attribute
-
def
withoutSparsity: NumericAttribute
Copy without the sparsity.
-
def
withoutStd: NumericAttribute
Copy without the standard deviation.
-
def
withoutSummary: NumericAttribute
Copy without summary statistics.