Added intercept_name parameter to trainingExamples.