update the confusion maxtrix, update the binning data udf
resolve confict in confusion matrix
remove duplicated code