TL;DR
This paper introduces a novel similarity measurement for clustering mixed datasets (containing both numerical and categorical attributes). By leveraging information entropy, it dynamically weights attributes based on their information content, leading to improved clustering accuracy compared to existing methods.
What Problem Does This Paper Address?
Clustering is a fundamental task in data analysis, aiming to group similar objects together. However, real-world datasets often contain a mix of numerical (e.g., age, temperature) and categorical (e.g., color, type) attributes. Traditional clustering algorithms are typically designed for one data type or treat all attributes equally, which can be suboptimal. Different attributes can carry varying amounts of information, and their contributions to similarity should ideally be weighted accordingly. This paper addresses the challenge of effectively measuring similarity in mixed datasets by accounting for the differential importance of attributes.
Methods
The core of this paper is a new similarity measurement designed for mixed datasets. The approach involves two main steps:
- Automatic Categorization of Numerical Data: Numerical attributes are first transformed into categorical ones. This is achieved using an automatic categorization technique that determines the optimal number of categories for each numerical attribute based on the Calinski-Harabasz index. This allows existing categorical clustering methods to be applied.
- Entropy-Based Weighting: Information entropy is used to quantify the "informativeness" or "inhomogeneity" of each attribute. Attributes with higher information entropy (more varied values) are assigned higher weights, reflecting their greater importance in the similarity calculation. This weighting strategy is applied to both the (now categorical) numerical attributes and the original categorical attributes.
These weighted similarities are then integrated into an iterative clustering algorithm, specifically a k-means framework, to perform the clustering.
Datasets
The proposed algorithm was evaluated on six mixed datasets from the UCI Machine Learning Data Repository:
- Statlog(Heart)
- Hepatitis
- Cylinder Bands
- Australian (Statlog Australian Credit Approval)
- Dermatology
- Zoo
Additionally, experiments were conducted on six purely numerical datasets from the UCI repository:
- Waveform
- Wine
- Mass (Mammographic Mass)
- Seeds
- Iris
- Fertility
Key Insights and Ideas
- Attribute Importance Varies: The paper strongly emphasizes that not all attributes contribute equally to clustering. Assigning weights based on information content is crucial for effective similarity measurement.
- Bridging Numerical and Categorical: Transforming numerical data into categorical data via automatic categorization is a key enabler. This allows a unified similarity metric to be applied across all attribute types.
- Information Entropy as a Weighting Mechanism: Using information entropy to derive attribute weights is a theoretically sound approach that captures the intrinsic information carried by each attribute.
- Improved Clustering Performance: The entropy-based weighting strategy demonstrably leads to better clustering results, outperforming established methods like K-Prototypes and OCIL.
Key Results
The proposed iterative clustering algorithm with entropy-based weighting achieved higher clustering accuracy on six mixed datasets compared to OCIL and K-Prototype. Specifically, it showed improvements of 2.13% and 4.28% on average, with notable gains on datasets like Statlog(Heart) (2.85% and 5.86% improvement).
For numerical datasets, the proposed method, when applied to a k-means framework, generally outperformed standard k-means, especially on the Mass dataset (26.69% higher similarity).
The study also found a strong correlation between the calculated attribute weights and attribute dependencies (estimated using the ReliefF algorithm), suggesting that the assigned weights are indeed reflective of the attributes' importance for clustering.
Limitations and Future Work
- Computational Complexity: While the paper aims to simplify computation by applying a unified metric, the automatic categorization step for numerical data can add computational overhead.
- Parameter Sensitivity (Implicit): Although the proposed method aims to reduce parameter sensitivity by automatically determining weights, the underlying clustering algorithm (k-means) still has parameters (like the number of clusters, k).
- Future Work: The paper suggests that the proposed similarity measurement is applicable to various clustering algorithms and can be extended to other data mining tasks. Further research could explore its application in different domains and with other clustering paradigms.
Summary updated