mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-17 08:40:56 +00:00
Bugfix for R uncertainty sample handling
This commit is contained in:
parent
f4d997e0ac
commit
c7a150312a
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ cross_validation <- function(
|
||||||
}
|
}
|
||||||
|
|
||||||
predict_columns <- c('ds', 'yhat')
|
predict_columns <- c('ds', 'yhat')
|
||||||
if (model$uncertainty_samples){
|
if (model$uncertainty.samples){
|
||||||
predict_columns <- append(predict_columns, c('yhat_lower', 'yhat_upper'))
|
predict_columns <- append(predict_columns, c('yhat_lower', 'yhat_upper'))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue