Unsupervised Structured Learning Of Human Activities For Robot Perception