Using Hidden Semi-Markov Model for learning behavior in smarthomes | IEEE Conference Publication | IEEE Xplore