Variable

scalation.modeling.Variable
See theVariable companion object
case class Variable(xj: VectorD, j: Int, kind: VariableKind, name_: String, concept: String)

The Variable class provides meta-data for a variable including its kind, distinct values, name and optional ontological concept. The variable may be an input variable (feature) or an output variable (response). Typically, it represents a column 'xj' in a data matrix.

Several modeling techniques such as decision trees need to divide the values into groups, e.g., for branch values: When 'xj' is categorical, these will be all its distinct values. Otherwise, these will be 0 (up to threshold) or 1 (above threshold).

Value parameters

concept

an optional URI for an optological concept

j

the index position within the relevant data matrix

kind

indication of the variable kind

name

the name of column (feature or response)

xj

the column vector (feature/response)

Attributes

See also

classifier.Node for 'threshold'

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val name: String