Facebook trains computers to learn like humans