updated preference learning for sample training timing issues
debug code for preference learning
debug code for regression learning