Skip to content

Commit

Permalink
bug fix for incorrect tuning parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
SumedhSankhe committed Jun 23, 2020
1 parent c1cecc8 commit aa91d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1303,10 +1303,10 @@ tuning_params <- function(...){
if("Parameter Tuning" %in% dots$checkbox){
if("Use h2o Package" %in% dots$checkbox){
show <- subset(params, classifier==dots$alg & use_h2o ==T)
hide <- subset(params, classifier!=dots$alg || use_h2o == F)
hide <- subset(params, classifier!=dots$alg | use_h2o == F)
} else{
show <- subset(params, classifier==dots$alg & use_h2o ==F)
hide <- subset(params, classifier!=dots$alg || use_h2o ==T)
hide <- subset(params, classifier!=dots$alg | use_h2o ==T)
}
op <- list("enable" = T, "show_ids" = show$id, "hide_ids" = hide$id)
}
Expand Down

0 comments on commit aa91d43

Please sign in to comment.