Machine learning models can predict postoperative hyperopic shift in patients with primary angle-closure glaucoma.