Performance Analysis for Machine Learning Applications