|
CodificationVariable Enumeration
|
Codification type.
Namespace:
Accord.Statistics.Filters
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public enum CodificationVariable
Public Enumeration CodificationVariable
Members
| Member name | Value | Description |
---|
| Default | 0 |
Returns Ordinal.
|
| Ordinal | 0 |
The variable should be codified as an ordinal variable, meaning they will be
translated to symbols 0, 1, 2, ... n, where n is the total number of distinct
symbols this variable can assume. This is the default encoding in the
Codification filter.
|
| Categorical | 1 |
This variable should be codified as a 1-of-n vector by creating
one column for each symbol this variable can assume, and marking
the column corresponding to the current symbol as 1 and the rest
as zero.
|
| CategoricalWithBaseline | 2 |
This variable should be codified as a 1-of-(n-1) vector by creating
one column for each symbol this variable can assume, except the
first. This is the same as as Categorical,
but the first symbol is handled as a baseline (and should be indicated by
a zero in every column).
|
| Continuous | 3 |
This variable is continuous and should be not be codified.
|
| Discrete | 4 |
This variable is discrete and should be not be codified.
|
See Also