mediator icon indicating copy to clipboard operation
mediator copied to clipboard

To Do

Open jhcreed opened this issue 6 years ago • 4 comments

  • [x] Allow character covariates - currently only work with numeric
  • [ ] Find public dataset for paper and to include in /data
  • [ ] Version number
  • [x] Add cox survival
  • [x] Fix up README
  • [ ] Resolve open issues
  • [x] Remove warning issue from rbind (Sigmas)
  • [x] Add flag for PM CI (default to FALSE; TRUE would trigger bootstrap for CI)
  • [x] Add progress bar for running boot
  • [x] Double check boot for survival outcomes
  • [ ] Set up .com travis
  • [ ] Have @gadenbuie double check new boot methods and parallel (future/furrr)

jhcreed avatar Aug 29 '19 15:08 jhcreed

Hey @gadenbuie if you get a sec can you check out the progress bar? I have tried it like a million different ways and can't seem to get it to trigger. If not no issue.

jhcreed avatar Mar 17 '20 12:03 jhcreed

Progress bar works using boot::boot(data = data, statistic = CIs, R = boot_rep) but not when using the parallelization in boot boot::boot(data = data, statistic = CIs, R = boot_rep, parallel = "multicore", ncpus = parallel::detectCores(logical = FALSE)) so either leave as is or figure out a work around

jhcreed avatar Mar 31 '20 12:03 jhcreed

Hey @jhcreed sorry I didn't see the comment from 2 weeks ago until now. Took a quick look and I don't think it's possible to add progress bars for the boot::boot() process. As far as I can tell, that's not something that's built into the function and there's no way to have each iteration trigger a callback function.

If your functions call many boot::boot()s, then a progress bar might be possible. If that's the case, can you point me to the for loop in your code where you wan the progress bar?

gadenbuie avatar Mar 31 '20 12:03 gadenbuie

It works inside the boot::boot() just not when I use the parallel = "multicore", ncpus = parallel::detectCores(logical = FALSE) options

jhcreed avatar Mar 31 '20 12:03 jhcreed