R/params.R

Defines functions h2o_split h2o_activation

Documented in h2o_activation h2o_split

values_h2o_activation <- c(
  "Rectifier", "RectifierWithDropout", "Tanh",
  "TanhWithDropout", "Maxout", "MaxoutWithDropout"
)

values_h2o_split <- c(
  "AUTO", "UniformAdaptive", "Random", "QuantilesGlobal",
  "RoundRobin", "UniformRobust"
)

#' Tuning parameters in h2o
#' @rdname h2o-tuning-params
#' @keywords internal
#' @export
#' @examples
#' h2o_activation()
h2o_activation <- function(values = values_h2o_activation) {
  dials::new_qual_param(
    type = "character",
    values = values,
    label = c(h2o_activation = "Activation function")
  )
}


#' @rdname h2o-tuning-params
#' @keywords internal
#' @export
h2o_split <- function(values = values_h2o_split) {
  dials::new_qual_param(
    type = "character",
    values = values,
    label = c(h2o_split = "Type of histogram to find optimal splits")
  )
}

Try the agua package in your browser

Any scripts or data that you put into this service are public.

agua documentation built on June 7, 2023, 5:07 p.m.