On Making Stochastic Classifiers Deterministic