Deep Regression of Muon Energy with a K-Nearest Neighbor Algorithm