fix bug in ROCtest.train