Skip to content

Commit 2d898b4

Browse files
author
ercbk
committed
changed some comments in h2o script
1 parent 56c43ca commit 2d898b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

duration-experiment/kuhn-johnson/nested-cv-h2o-kj.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# 3. *** For glm models, setting parallelism = 0 causes the grid search to hang. Manually set the number of models to compute in parallel ***
1111
# 4. H2O doesn't have a cv strategy that just fits the grid row by row. Your options are RandomDiscrete or Cartesian Grid. I set the parameter ranges so that using the Cartesian grid would create a 100 row grid to match the other scripts.
1212
# 5. Uses few cpu resources when tuning glmnet, but does maximize cpu usage for tuning the rf
13-
# 6. Starts the MLflow server in the background with a OS command and kills the server process at the end of the script
1413

1514

1615
# Sections
@@ -238,7 +237,7 @@ compare_algs <- function(alg, params, mod_FUN, dat){
238237
dat[which.min(dat$mean_error),]
239238
}) %>%
240239
select(names(params)) %>%
241-
# H2O makes params into char vars and adds brackets to the values. Guessing they're python lists.
240+
# H2O makes params into char vars and adds brackets to the values. Guessing they're json.
242241
mutate_all(~stringr::str_remove_all(., "^\\[")) %>%
243242
mutate_all(~stringr::str_remove_all(., "\\]")) %>%
244243
mutate_all(as.numeric)

0 commit comments

Comments
 (0)