From 675a733fa2acc08daabb9b8b571c7d658f281f73 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 26 May 2020 18:38:51 +0200 Subject: Use all cores per default, confint tolerance Also, use more intelligent starting values for the variance of the random effects for saemix. While this does not appear to speed up the convergence, it shows where this variance is greatly reduced by using mixed-effects models as opposed to the separate independent fits. --- docs/reference/mmkin.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'docs/reference/mmkin.html') diff --git a/docs/reference/mmkin.html b/docs/reference/mmkin.html index 3be3b4b9..9628c017 100644 --- a/docs/reference/mmkin.html +++ b/docs/reference/mmkin.html @@ -75,7 +75,7 @@ datasets specified in its first two arguments." /> mkin - 0.9.50.2 + 0.9.50.3 @@ -112,6 +112,9 @@ datasets specified in its first two arguments." />
  • Example evaluation of NAFTA SOP Attachment examples
  • +
  • + Some benchmark timings +
  • @@ -152,7 +155,7 @@ datasets specified in its first two arguments.

    mmkin(
       models = c("SFO", "FOMC", "DFOP"),
       datasets,
    -  cores = round(detectCores()/2),
    +  cores = detectCores(),
       cluster = NULL,
       ...
     )
    @@ -176,7 +179,8 @@ data for mkinfit.

    The number of cores to be used for multicore processing. This is only used when the cluster argument is NULL. On Windows machines, cores > 1 is not supported, you need to use the cluster -argument to use multiple logical processors.

    +argument to use multiple logical processors. Per default, all cores +detected by parallel::detectCores() are used.

    cluster @@ -215,9 +219,9 @@ plotting.

    time_default <- system.time(fits.0 <- mmkin(models, datasets, quiet = TRUE)) time_1 <- system.time(fits.4 <- mmkin(models, datasets, cores = 1, quiet = TRUE))
    #> Warning: Optimisation did not converge: #> false convergence (8)
    -time_default
    #> User System verstrichen -#> 4.520 0.374 1.284
    time_1
    #> User System verstrichen -#> 5.076 0.004 5.083
    +time_default
    #> user system elapsed +#> 4.457 0.561 1.328
    time_1
    #> user system elapsed +#> 5.031 0.004 5.038
    endpoints(fits.0[["SFO_lin", 2]])
    #> $ff #> parent_M1 parent_sink M1_M2 M1_sink #> 0.7340478 0.2659522 0.7505691 0.2494309 -- cgit v1.2.1