refactoring of validation to improve source code readability.
refactoring of validation to improve source code readability.

dmlc/xgboost,dmlc/xgboost,dmlc/xgboost,dmlc/xgboost,dmlc/xgboost,dmlc/xgboost