Medication Adherence Monitoring using Machine Learning