map function

Classification given Probabilities