
Ultimate access to all questions.
Given a parameter grid defined as param_grid = (ParamGridBuilder().addGrid(rf.maxDepth, [2, 5]).addGrid(rf.numTrees, [5, 10]).build()) and using 3-fold cross-validation to find the optimal hyperparameters, how many models will be trained in total?_
A
4 models
B
12 models
C
6 models
D
24 models
E
8 models