Generalized stochastic orderings applied to the study of perfomance of machine learning algorithm