"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "R/R/stanmodels.R" between
prophet-1.0.tar.gz and prophet-1.1.tar.gz

About: Prophet is a tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

stanmodels.R  (prophet-1.0):stanmodels.R  (prophet-1.1)
skipping to change at line 24 skipping to change at line 24
stanfit <- rstan::stanc_builder(stan_file, stanfit <- rstan::stanc_builder(stan_file,
allow_undefined = TRUE, allow_undefined = TRUE,
obfuscate_model_name = FALSE) obfuscate_model_name = FALSE)
stanfit$model_cpp <- list(model_cppname = stanfit$model_name, stanfit$model_cpp <- list(model_cppname = stanfit$model_name,
model_cppcode = stanfit$cppcode) model_cppcode = stanfit$cppcode)
# create stanmodel object # create stanmodel object
methods::new(Class = "stanmodel", methods::new(Class = "stanmodel",
model_name = stanfit$model_name, model_name = stanfit$model_name,
model_code = stanfit$model_code, model_code = stanfit$model_code,
model_cpp = stanfit$model_cpp, model_cpp = stanfit$model_cpp,
mk_cppmodule = function(x) get(paste0("model_", model_name))) mk_cppmodule = function(x) get(paste0("rstantools_model_", model_ name)))
}) })
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)