With little training, machine-learning algorithms can uncover hidden scientific knowledge