Machine learning meets mammalian learning : statistical tools for large-scale calcium imaging and the study of changing neural codes