Cost of the various SearchCV procedures

Could you please check my back-of-the-envelope estimates for the computational cost of GridSearchCV and RandomizedSearchCV? Considering the default 5-fold crossval in both cases and d hyperparameters, I get:

  • for GridSearchCV: CodeCogsEqn (3) , where CodeCogsEqn (2) is the number of levels for hyperparameter i. In the case where CodeCogsEqn (4), we get CodeCogsEqn (5) which shows clearly the curse of dimensionality here
  • for RandomizedSearchCV: CodeCogsEqn (6), where n_iter is the corresponding argument of RandomizedSearchCV. IIUC, RandomizedSearchCV will try n_iter different levels for each parameter, so the exploration, at least in terms of 1D projections of the DOE, is way more thorough that with GridSearchCV. This is similar to how Latin Hypercube Designs explore the range of each parameters more thoroughly (i.e., using more levels) than Full Factorial Designs.

Is this correct? Thanks!