lts: Syntactic Sugar for Tuning Space Construction

View source: R/sugar.R

ltsR Documentation

Syntactic Sugar for Tuning Space Construction

Description

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

Usage

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

  • TuningSpace for lts()

  • list of TuningSpace for ltss()

Examples

lts("classif.ranger.default")

mlr3tuningspaces documentation built on April 12, 2022, 9:05 a.m.