We make as well as possible precise by measuring the mean squared error between mathy / math and math \ hat { f } ( x ; D ) / math : we want math ( y - \ hat { f } ( x ; D ) ) ^ 2 / math to be minimal , both for mathx _ 1 , \ dots , x _ n / math and for points outside of our sample .