Implement Sampling and Minimize Loss in Numerical Coding | Google