Metrics for Nearest NeighbourDiscrimination with Categorical