ContinuousAttribute

class ContinuousAttribute(val intervals: Array[Interval], val validValues: Array[Any], val invalidValues: Set[Any], val missingValues: Set[Any], val labels: Map[Any, String]) extends Attribute with HasIntervals
Companion:
object
trait Attribute
trait Serializable
trait HasLabels
class Object
trait Matchable
class Any

Value members

Concrete methods

def decode(index: Int): Any
def encode(value: Any): Double
override def isInvalidValue(value: Any): Boolean
Definition Classes
override def isValidValue(value: Any): Boolean
Definition Classes

Inherited methods

def getLabel(value: Any): Option[String]
Inherited from:
HasLabels
def isBinary: Boolean

Tests whether this field is binary, that is categorical and it contains exactly two valid values.

Tests whether this field is binary, that is categorical and it contains exactly two valid values.

Inherited from:
HasValidValues
def isIn(value: Any): Boolean
Inherited from:
HasIntervals
def isMissingValue(value: Any): Boolean
Inherited from:
HasMissingValues
def isMutable: Boolean
Inherited from:
Attribute
def isSysMissing(value: Any): Boolean
Inherited from:
HasMissingValues
def numCategories: Int
Inherited from:
HasValidValues
Inherited from:
Attribute
def valuesAsString: String
Inherited from:
Attribute

Concrete fields

override val intervals: Array[Interval]
override val invalidValues: Set[Any]
override val labels: Map[Any, String]
override val missingValues: Set[Any]
override val validValues: Array[Any]