Skip to content

Commit

Permalink
fixed automl cleanup from R client
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Poirier committed Oct 3, 2019
1 parent 8a9a9f4 commit a453042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions h2o-r/h2o-package/R/automl.R
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ h2o.automl <- function(x, y, training_frame,

# GET AutoML object
aml <- h2o.getAutoML(project_name = res$job$dest$name)
attr(aml, "id") <- res$job$dest$name
return(aml)
}

Expand Down
2 changes: 1 addition & 1 deletion h2o-r/h2o-package/R/classes.R
Original file line number Diff line number Diff line change
Expand Up @@ -869,4 +869,4 @@ setClass("H2OAutoML", slots = c(project_name = "character",
training_info = "list"),
contains = "Keyed")
#' @rdname h2o.keyof
setMethod("h2o.keyof", signature("H2OAutoML"), function(object) object@project_name)
setMethod("h2o.keyof", signature("H2OAutoML"), function(object) attr(object, "id"))

0 comments on commit a453042

Please sign in to comment.