Using Machine Learning For Dynamic Hardware Prediction