Odor classification using similarity-based representation