comp_accu_freq function

Compute accuracy metrics of current classification results.