extract_mold.kerasnip_output_view: Extract Mold Method for 'kerasnip_output_view' Objects

View source: R/output_view.R

extract_mold.kerasnip_output_viewR Documentation

Extract Mold Method for kerasnip_output_view Objects

Description

Returns the wrapped workflow's mold with ⁠$outcomes⁠ (and, if present, ⁠$blueprint$ptypes$outcomes⁠) sliced down to x$output's single column, so downstream code that reads names(extract_mold(x)$outcomes) (such as probably::int_conformal_split()) sees a single-outcome fit.

Usage

## S3 method for class 'kerasnip_output_view'
extract_mold(x, ...)

Arguments

x

A kerasnip_output_view.

...

Not used.

Value

A hardhat mold with a single outcome column.


kerasnip documentation built on Sept. 4, 2026, 1:06 a.m.