This method will perform two functions:
- if user only wants a fraction of the training dataset to be used for infogram calculation, we will split the
training frame and only use a fraction of it for infogram training purposes;
- next, a new training dataset will be generated containing only the predictors in predictors2Use array.