Deep Activity Recognition based on Patterns Discovery for Healthcare Monitoring