scalation.modeling.Variable
See theVariable companion object
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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article