Clustering data using self-organizing maps