convertMlrLearnerToOMLFlow: Converts an OMLFlow to an mlr learner.

View source: R/convertMlrLearnerToOMLFlow.R

convertMlrLearnerToOMLFlowR Documentation

Converts an OMLFlow to an mlr learner.

Description

Creates an OMLFlow for an mlr Learner] Required if you want to upload an mlr learner to the OpenML server.

Usage

convertMlrLearnerToOMLFlow(
  lrn,
  name = paste0("mlr.", lrn$id),
  description = NULL,
  ...
)

Arguments

lrn

[Learner]
The mlr learner.

name

[character(1)]
The name of the flow object. Default is the learner ID with the prefix “mlr” prepended.

description

[character(1)]
An optional description of the learner. Default is a short specification of the learner and the associated package.

...

[any]
Further optional parameters that are passed to makeOMLFlow.

Value

[OMLFlow].


openml/r documentation built on Oct. 21, 2022, 2:21 a.m.