small improvements with an option to output validation data set to prepare data for an constrained linear learner