training and predictor objects