oml_object | R Documentation |
All OML Objects inherit from this class. Don't use his class directly.
desc
(list()
)
Description of OpenML object.
cache_dir
(logical(1)
| character(1)
)
Stores the location of the cache for objects retrieved from OpenML.
If set to FALSE
, caching is disabled.
Objects from the test server are stored in the subdirectory 'test', those from the public
server are stored in the subdirectory 'public'.
The package qs is required for caching.
id
(integer(1)
)
OpenML data id.
server
(character(1)
)
The server for this object.
man
(character(1)
)
The manual entry.
name
(character(1)
)
The name of the object.
type
(character()
)
The type of OpenML object (e.g. task, run, ...).
test_server
(logical(1)
)
Whether the object is using the test server.
new()
Creates a new instance of this R6 class.
OMLObject$new(id, test_server = test_server_default(), type)
id
(integer(1)
)
OpenML id for the object.
test_server
(character(1)
)
Whether to use the OpenML test server or public server.
Defaults to value of option "mlr3oml.test_server"
, or FALSE
if not set.
type
(charcater()
)
The type of OpenML object (e.g. run, task, ...).
help()
Opens the corresponding help page referenced by field $man
.
OMLObject$help()
clone()
The objects of this class are cloneable with this method.
OMLObject$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.