Unsupervised Learning in Space and Time