| runtimes_draws | R Documentation |
This data frame contains full-fit estimation times for a preference space
mixed logit model estimated with logitr as the number of random draws grows
to 10,000, comparing the three logitr backends: the native R "cpu" path,
the compiled "cpp" backend on a single core, and the compiled backend on
all cores. Unlike runtimes, this is a logitr-only benchmark used to show
how logitr scales to draw counts the other packages cannot reach in
tractable time. It is generated by the script data-raw/runtimes.R in
the package repository, run on the same 10-core Apple M-series Mac as the
runtimes benchmark, so the absolute times are specific to that machine.
data(runtimes_draws)
| Variable | Description |
config | The logitr backend used: "cpu", "cpp (1 core)", or "cpp (10 cores)" (all cores on the benchmark machine). |
time_sec | The estimation time in seconds. |
numDraws | The number of random draws used during estimation. |
The data-raw/runtimes.R script in the logitr repository.
data(runtimes_draws)
head(runtimes_draws)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.