Using machine learning tools to reveal how memories are coded in the brain