R/LearnerRegrGlmnet.R

Defines functions plot.LearnerRegrGlmnet autoplot.LearnerRegrGlmnet

Documented in autoplot.LearnerRegrGlmnet

#' @rdname autoplot.LearnerClassifGlmnet
#' @export
autoplot.LearnerRegrGlmnet = function(object, ...) { # nolint
  plot_ggfortify(object, ...)
}

#' @export
plot.LearnerRegrGlmnet = function(x, ...) {
  print(autoplot(x, ...))
}
mlr-org/mlr3viz documentation built on Oct. 19, 2021, 1:10 p.m.