Activity Recognition in Smart Environments