Dictionary: Base Class for Dictionaries

Description Usage Format Value Fields Methods

Description

A R6::R6Class() for a simple dictionary (hash map). This is used to store objects like mlr.tasks(), mlr.learners(), mlr.resamplings() or mlr.measures().

Usage

1

Format

R6Class() object

Value

Dictionary.

Fields

ids

Returns the ids of registered learners.

env

Environment where all Learner() objects are stored.

Methods

add(obj, id, overwrite)

Add an object to the dictionary.

contains(ids)

Returns a logical vector signaling if objects with the respective id are stored inside the Dictionary.

...

...


mlr-org/mlrng documentation built on May 4, 2019, 4:22 p.m.