Machine Learning Based User Activity Prediction For Smart Homes