Learn R Programming

OpenML (version 1.12)

getOMLTask: Get an OpenML task.

Description

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

Usage

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

Value

[OMLTask].

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.

See Also

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

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

Examples

Run this code
# # 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)
# }

Run the code above in your browser using DataLab