lts: Syntactic Sugar for Tuning Space Construction

Description Usage Arguments Value Examples

View source: R/sugar.R

Description

This function complements mlr_tuning_spaces with functions in the spirit of mlr3::mlr_sugar.

Usage

1
2
3
4
5
6
7
8
9
lts(x)

## S3 method for class 'character'
lts(x)

## S3 method for class 'Learner'
lts(x)

ltss(x)

Arguments

x

(character() | mlr3::Learner)
If character, key passed the dictionary to retrieve the tuning space. If mlr3::Learner, default tuning space is added to the learner.

Value

Examples

1
lts("classif.ranger.default")

mlr3tuningspaces documentation built on Jan. 20, 2022, 1:06 a.m.