Using artificial intelligence to better understand the brain