pull_workflow_set_result: Extract elements from a workflow set

View source: R/pull.R

pull_workflow_set_resultR Documentation

Extract elements from a workflow set

Description

[Soft-deprecated]

Usage

pull_workflow_set_result(x, id)

pull_workflow(x, id)

Arguments

x

A workflow set outputted by workflow_set() or workflow_map().

id

A single character string for a workflow ID.

Details

pull_workflow_set_result() retrieves the results of workflow_map() for a particular workflow while pull_workflow() extracts the unfitted workflow from the info column.

The extract_workflow_set_result() and extract_workflow() functions should be used instead of these functions.

Value

pull_workflow_set_result() produces a tune_result or resample_results object. pull_workflow() returns an unfit workflow object.

Examples

library(tune)

two_class_res

pull_workflow_set_result(two_class_res, "none_cart")

pull_workflow(two_class_res, "none_cart")

workflowsets documentation built on April 7, 2023, 1:05 a.m.