We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the following code lead to long run times or no termination at all
############################### library(data.table) devtools::install_github("statistikat/simPop") library(simPop) # examples for xgboost ## load the demo data set data(eusilcS) ## create the structure inp <- specifyInput(data = eusilcS, hhid = "db030", # variable with cluster information strata = "db040", weight = "db090" # variable with sampling weights ) simPop <- simStructure(data=inp, method="direct", basicHHvars=c("age", "rb090")) simPop model_params <- list(max.depth = 10, eta = 0.5, nrounds = 5, objective = "multi:softprob") simPop <- simCategorical(simPop, additional = c("pl030", "pb220a"), method = "xgboost", model_params = model_params) simPop
Changing the last function call to disable parallelisation yields immediate results
simPop <- simCategorical(simPop, additional = c("pl030", "pb220a"), method = "xgboost", nr_cpus = 1, # <- disable parallelisation model_params = model_params) simPop
Propose to try other packages for parallelisation like parallelly(https://cran.r-project.org/web/packages/parallelly/) or future.apply (https://cran.r-project.org/web/packages/future.apply)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running the following code lead to long run times or no termination at all
Changing the last function call to disable parallelisation yields immediate results
Propose to try other packages for parallelisation like parallelly(https://cran.r-project.org/web/packages/parallelly/) or future.apply (https://cran.r-project.org/web/packages/future.apply)
The text was updated successfully, but these errors were encountered: