Machine Learning For Performance Acceleration And Prediction In Scientific Computing