Metrology for Machine Learning Tasks