probabilistic model. optimizing neural networks using structured probabilistic models optimization machine learning applications networking