tidyverts

Integration of Variable importance plots within the tidy modelling framework

寵の児 提交于 2021-01-01 06:46:30
问题 Could somebody show me how to generate permutation-based variable implots within the tidy modelling framework? Currently, I have this: library(tidymodels) # variable importance final_fit_train %>% pull_workflow_fit() %>% vip(geom = "point", aesthetics = list(color = cbPalette[4], fill = cbPalette[4])) + THEME + ggtitle("Elastic Net") which generates this: However, I would like to have something like this It's not clear to me how the rather new tidy modelling framework integrates with the

Integration of Variable importance plots within the tidy modelling framework

假如想象 提交于 2021-01-01 06:46:06
问题 Could somebody show me how to generate permutation-based variable implots within the tidy modelling framework? Currently, I have this: library(tidymodels) # variable importance final_fit_train %>% pull_workflow_fit() %>% vip(geom = "point", aesthetics = list(color = cbPalette[4], fill = cbPalette[4])) + THEME + ggtitle("Elastic Net") which generates this: However, I would like to have something like this It's not clear to me how the rather new tidy modelling framework integrates with the

Generating long-term forecasts including prophet and temporal aggregation (thief)

懵懂的女人 提交于 2020-12-15 04:55:04
问题 I just started to use {fable} and the {tidyverts} family of tools and so far it's going quite well. I'm currently interested in producing long term probabilistic forecasts from daily data (with a monthly or quarterly resolution being fine or preferred). My understanding is, that temporal aggregation could help reduce model uncertainty and also propagate known daily influences (especially holiday effects) to the e.g. quarterly level and improve accuracy that way. For the daily data I plan on

Generating long-term forecasts including prophet and temporal aggregation (thief)

旧时模样 提交于 2020-12-15 04:54:13
问题 I just started to use {fable} and the {tidyverts} family of tools and so far it's going quite well. I'm currently interested in producing long term probabilistic forecasts from daily data (with a monthly or quarterly resolution being fine or preferred). My understanding is, that temporal aggregation could help reduce model uncertainty and also propagate known daily influences (especially holiday effects) to the e.g. quarterly level and improve accuracy that way. For the daily data I plan on

Extract Model Description from a mable

亡梦爱人 提交于 2020-08-11 05:13:15
问题 I have a mable object that is like so: models # A mable: 1 x 3 ets arima nnetar <model> <model> <model> 1 <ETS(M,Ad,M)> <ARIMA(2,1,2)(0,0,2)[12]> <NNAR(14,1,10)[12]> I just want the models descriptions so I can place them in a plot. So I ran the following code: model_desc <- models %>% gather() %>% select(key, value) %>% set_names("model","model_desc") %>% mutate(model_desc_char = model_desc %>% as.character()) as_tibble() %>% select(model, model_desc) This still gives me back a tibble where

Extract Model Description from a mable

雨燕双飞 提交于 2020-08-11 05:12:06
问题 I have a mable object that is like so: models # A mable: 1 x 3 ets arima nnetar <model> <model> <model> 1 <ETS(M,Ad,M)> <ARIMA(2,1,2)(0,0,2)[12]> <NNAR(14,1,10)[12]> I just want the models descriptions so I can place them in a plot. So I ran the following code: model_desc <- models %>% gather() %>% select(key, value) %>% set_names("model","model_desc") %>% mutate(model_desc_char = model_desc %>% as.character()) as_tibble() %>% select(model, model_desc) This still gives me back a tibble where