OpenML (version 1.7)

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)

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

Run this code
# NOT RUN {
# Download task and access relevant information to start running experiments
# }
# NOT RUN {
  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 DataCamp Workspace