getOMLTask: Get an OpenML task.

Description Usage Arguments Value See Also Examples

View source: R/getOMLTask.R

Description

Given a task ID, the corresponding OMLTask will be downloaded (if not in cache) and returned.

Usage

1
getOMLTask(task.id, cache.only = FALSE, verbosity = NULL)

Arguments

task.id

[integer(1)]
Task ID.

cache.only

[logical(1)]
Only try to retrieve the object from cache. Will result in error if the object is not found. Default is FALSE.

verbosity

[integer(1)]
Print verbose output on console? Possible values are:
0: normal output,
1: info output,
2: debug output.
Default is set via setOMLConfig.

Value

[OMLTask].

See Also

Other downloading functions: getOMLDataSetQualities, getOMLDataSet, getOMLFlow, getOMLRun, getOMLStudy

Other task-related functions: convertOMLTaskToMlr, deleteOMLObject, listOMLTaskTypes, listOMLTasks, makeOMLTask, tagOMLObject

Examples

1
2
3
4
5
6
7
8
# # Download task and access relevant information to start running experiments
# \dontrun{
#   task = getOMLTask(1)
#   task
#   task$task.type
#   task$input$data.set
#   head(task$input$data.set$data)
# }

openml/r documentation built on May 24, 2019, 3:51 p.m.