Estimating the Bayes Risk from Sample Data