R/LearnerRegrCVGlmnet.R

Defines functions plot.LearnerRegrCVGlmnet autoplot.LearnerRegrCVGlmnet

Documented in autoplot.LearnerRegrCVGlmnet

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

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