getOMLTask function

Get an OpenML task.

Get an OpenML task.

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

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.

Returns

[OMLTask].

Examples

# # 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) # }

See Also

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

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

  • Maintainer: Giuseppe Casalicchio
  • License: BSD_3_clause + file LICENSE
  • Last published: 2022-10-19