Precision engineering of biological function with large-scale measurements and machine learning