área de pesquisa Giovani Parente Farias Plan recognition and failure prediction for ambient assisted living