case class Variable(xj: VectoD, j: Int, kind: VariableKind.VariableKind = Continuous, name_: String = null, concept: String = null) extends Product with Serializable
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).
- xj
the column vector (feature/response)
- j
the index position within the relevant data matrix
- kind
indication of the variable kind
- concept
an optional URI for an optological concept
- See also
classifier.Node
for 'threshold'
- Alphabetic
- By Inheritance
- Variable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Variable(xj: VectoD, j: Int, kind: VariableKind.VariableKind = Continuous, name_: String = null, concept: String = null)
- xj
the column vector (feature/response)
- j
the index position within the relevant data matrix
- kind
indication of the variable kind
- concept
an optional URI for an optological concept