change binary percTrain to percTrainG