Fixed classification of sparse data.