A Deep Learning Approach to Optimal Sampling Problems. (16th June 2022)