120195: The number of randomly sampled variables must be less than or equal to the number of explanatory variables.

Description

The number of randomly sampled variables must be a subset of the total number of explanatory variables.

Solution

Reduce the number of randomly sampled variables to less than or equal to the total number of explanatory variables.

A continuous variable counts as one variable. Categorical variables count as the number of categories in the variable. For example, if you have 1 continuous variable and 1 categorical variable with 3 categories, you can sample 1, 2, 3, or 4 variables.