add two functions in supervised_evaluation.py