stochastic model vs machine learning