Enabling Edge Cloud Intelligence for Activity Learning in Smart Home