Ant colony mapping for dimensionality reduction to discrete spaces