get_target_text_from_resamples {modeltime.resample} | R Documentation |
Gets the target variable as text from unnested resamples
Description
An internal function used by unnest_modeltime_resamples()
.
Usage
get_target_text_from_resamples(data, column_before_target = ".row")
Arguments
data |
Unnested resample results |
column_before_target |
The text column located before the target variable. This is ".row". |
Examples
# The .resample_results column is deeply nested
m750_training_resamples_fitted
# Unnest and prepare the resample predictions for evaluation
unnest_modeltime_resamples(m750_training_resamples_fitted) %>%
get_target_text_from_resamples()
[Package modeltime.resample version 0.2.3 Index]