Unsupervised temporal commonality discovery