9.3 Get workflow components

all_fitwf %>%
  purrr::pluck(".workflow", 1) %>%
  workflows::pull_workflow_fit() # return parsnip model fit
## parsnip model object
## 
## Fit time:  986ms 
## n= 2198 
## 
## node), split, n, deviance, yval
##       * denotes terminal node
## 
##  1) root 2198 1.487210e+13 182194.9  
##    2) Garage_Cars< 2.5 1897 5.662631e+12 161558.3  
##      4) Gr_Liv_Area< 1416.5 1015 1.286642e+12 134100.4  
##        8) Year_Built< 1976.5 739 6.375992e+11 121546.1  
##         16) Total_Bsmt_SF< 908.5 402 2.968270e+11 107845.4 *
##         17) Total_Bsmt_SF>=908.5 337 1.753004e+11 137889.3 *
##        9) Year_Built>=1976.5 276 2.207027e+11 167715.1 *
##      5) Gr_Liv_Area>=1416.5 882 2.730102e+12 193156.7  
##       10) Exter_QualTypical>=0.5 496 8.861079e+11 168788.4 *
##       11) Exter_QualTypical< 0.5 386 1.170994e+12 224469.4  
##         22) Total_Bsmt_SF< 1013.5 190 3.063697e+11 194020.5 *
##         23) Total_Bsmt_SF>=1013.5 196 5.177049e+11 253986.2 *
##    3) Garage_Cars>=2.5 301 3.310123e+12 312253.4  
##      6) Total_Bsmt_SF< 1732.5 210 1.186234e+12 273081.4  
##       12) Year_Remod_Add< 1990.5 24 4.891929e+10 149116.7 *
##       13) Year_Remod_Add>=1990.5 186 7.209114e+11 289076.8  
##         26) Gr_Liv_Area< 2323 125 2.147973e+11 262117.8 *
##         27) Gr_Liv_Area>=2323 61 2.290998e+11 344320.8 *
##      7) Total_Bsmt_SF>=1732.5 91 1.058039e+12 402650.4  
##       14) Gr_Liv_Area< 2217 59 2.127745e+11 356679.9 *
##       15) Gr_Liv_Area>=2217 32 4.906959e+11 487408.3 *
all_fitwf %>%
  purrr::pluck(".workflow", 1) %>%
  workflows::pull_workflow_spec()
## Decision Tree Model Specification (regression)
## 
## Computational engine: rpart