Classify sensor values.