From 66faa69393a69fa3dc9f3901d126a75eb55069f2 Mon Sep 17 00:00:00 2001 From: Kyle Belanger Date: Sat, 25 Mar 2023 08:36:00 -0400 Subject: [PATCH] add workflow saves --- ML/2-modeling-class.R | 3 +++ ML/2-modeling-reg.R | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ML/2-modeling-class.R b/ML/2-modeling-class.R index fa5d8ce..0a421a7 100644 --- a/ML/2-modeling-class.R +++ b/ML/2-modeling-class.R @@ -172,3 +172,6 @@ screen_workflows <- all_workflows %>% verbose = TRUE ) +saveRDS( + screen_workflows, here::here("ML", "outputs", "workflowscreen_class.rds") + ,compress = TRUE) diff --git a/ML/2-modeling-reg.R b/ML/2-modeling-reg.R index 353c1f3..be59e32 100644 --- a/ML/2-modeling-reg.R +++ b/ML/2-modeling-reg.R @@ -174,7 +174,9 @@ screen_workflows <- all_workflows %>% - +saveRDS( + screen_workflows, here::here("ML", "outputs", "workflowscreen.rds") + ,compress = TRUE) # grid search -------------------------------------------------------------