[Paper Review] Numerical Coding of Nominal Data
This paper proposes a novel method to encode nominal data using complex numbers, where the magnitude represents frequency (cardinality) and the phase encodes ordinal position among equinumeral categories. By embedding nominal attributes into complex space, the approach preserves all original information, enables arithmetic operations, and supports metric-based learning. Evaluation on a car dataset shows classification accuracy improves significantly when using complex-coded nominal data compared to ad hoc or purely numerical encoding.
In this paper, a novel approach for coding nominal data is proposed. For the given nominal data, a rank in a form of complex number is assigned. The proposed method does not lose any information about the attribute and brings other properties previously unknown. The approach based on these knew properties can been used for classification. The analyzed example shows that classification with the use of coded nominal data or both numerical as well as coded nominal data is more effective than the classification, which uses only numerical data.
Motivation & Objective
- To address the challenge of integrating nominal and numerical data in machine learning without losing information or introducing arbitrary orderings.
- To develop a coding method that preserves all attribute information while adding geometric structure for enhanced analysis.
- To enable metric-based operations (e.g., distance, clustering) on nominal data through complex-number embedding.
- To evaluate whether complex-coded nominal data improve classification performance compared to standard encoding techniques.
Proposed method
- Assigns a rank to each nominal value based on its frequency (cardinality), using R = (n + 1)/2 for n occurrences.
- For equinumeral categories, applies k-th roots of unity to assign distinct phases: Rj = R · e^(i·2πj/k), where j is the category index.
- Encodes each nominal value as a complex number with magnitude R and phase φ = 2πj/k, forming a complex vector in C.
- Enables standard arithmetic, scalar product, norm, and distance (metric) in complex space for downstream learning.
- Applies the method to real-world data (car attributes), standardizes features, and uses k-means with Euclidean distance on complex-coded features.
Experimental results
Research questions
- RQ1Can nominal data be encoded in a way that preserves frequency information while enabling geometric operations?
- RQ2Does complex-number coding of nominal data improve classification accuracy compared to ad hoc or purely numerical encoding?
- RQ3Can the phase component in complex coding effectively distinguish between equinumeral nominal categories?
- RQ4Is the metric structure in complex space suitable for clustering and classification tasks?
Key findings
- Classification using both numerical and complex-coded nominal data achieved 90% accuracy, significantly outperforming methods using only numerical data or ad hoc coding.
- The method with complex-coded nominal data alone reached 80% accuracy, demonstrating that frequency and category structure in nominal data carry meaningful predictive information.
- In contrast, classification based solely on numerical data achieved only 12% accuracy at the 70% threshold, highlighting the limitations of ignoring nominal data structure.
- The use of complex coding reduced the effective dimensionality of nominal features compared to standard one-hot encoding, offering a potential advantage in high-dimensional settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.