scripts/stats: compute the average accuracy of label prediction

Signed-off-by: Jerome Flesch <jflesch@gmail.com>