Question: For R, partition data sets into 60% training and 40% validation. Use the statement set.seed(1) to specify the random seed of 1 for both data
For R, partition data sets into 60% training and 40% validation. Use the statement set.seed(1) to specify the random seed of 1 for both data partitioning and cross-validation. If the predictor variable values are in the character format, then treat the predictor variable as a categorical variable. Otherwise, treat the predictor variable as a numerical variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
