Using machine learning to fine-tune views of the ancient past