aboutsummaryrefslogtreecommitdiff
path: root/docs/articles/web_only/compiled_models.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-05-07 08:12:27 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2019-05-07 08:12:27 +0200
commit8a3475c59f3d91ce5ce7d980d6de09360617e7fe (patch)
treea0a8bf1053e8bab09921b84916f1ace15e8ae8a4 /docs/articles/web_only/compiled_models.html
parent1ef7008be2a72a0847064ad9c2ddcfa16b055482 (diff)
After the OLS step, use OLS parameter estimates
- Fix the respective error in the code - Static documentation rebuilt by pkgdown
Diffstat (limited to 'docs/articles/web_only/compiled_models.html')
-rw-r--r--docs/articles/web_only/compiled_models.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/articles/web_only/compiled_models.html b/docs/articles/web_only/compiled_models.html
index feba6e23..ad7716c1 100644
--- a/docs/articles/web_only/compiled_models.html
+++ b/docs/articles/web_only/compiled_models.html
@@ -88,7 +88,7 @@
<h1>Performance benefit by using compiled model definitions in mkin</h1>
<h4 class="author">Johannes Ranke</h4>
- <h4 class="date">2019-05-03</h4>
+ <h4 class="date">2019-05-07</h4>
<div class="hidden name"><code>compiled_models.Rmd</code></div>
@@ -163,14 +163,14 @@
## Warning in mkinfit(SFO_SFO, FOCUS_2006_D, solution_type = "deSolve", quiet
## = TRUE): Observations with value of zero were removed from the data</code></pre>
<pre><code>## test replications elapsed relative user.self sys.self
-## 3 deSolve, compiled 3 3.075 1.000 3.072 0.000
-## 1 deSolve, not compiled 3 28.192 9.168 28.168 0.008
-## 2 Eigenvalue based 3 4.351 1.415 4.349 0.000
+## 3 deSolve, compiled 3 1.325 1.000 1.325 0
+## 1 deSolve, not compiled 3 11.175 8.434 11.170 0
+## 2 Eigenvalue based 3 1.799 1.358 1.798 0
## user.child sys.child
## 3 0 0
## 1 0 0
## 2 0 0</code></pre>
-<p>We see that using the compiled model is by a factor of around 9 faster than using the R version with the default ode solver, and it is even faster than the Eigenvalue based solution implemented in R which does not need iterative solution of the ODEs.</p>
+<p>We see that using the compiled model is by a factor of around 8 faster than using the R version with the default ode solver, and it is even faster than the Eigenvalue based solution implemented in R which does not need iterative solution of the ODEs.</p>
</div>
<div id="model-that-can-not-be-solved-with-eigenvalues" class="section level2">
<h2 class="hasAnchor">
@@ -214,8 +214,8 @@
## Warning in mkinfit(FOMC_SFO, FOCUS_2006_D, quiet = TRUE): Observations with
## value of zero were removed from the data</code></pre>
<pre><code>## test replications elapsed relative user.self sys.self
-## 2 deSolve, compiled 3 4.933 1.000 4.930 0
-## 1 deSolve, not compiled 3 52.879 10.719 52.853 0
+## 2 deSolve, compiled 3 2.322 1.000 2.320 0
+## 1 deSolve, not compiled 3 25.232 10.866 25.208 0
## user.child sys.child
## 2 0 0
## 1 0 0</code></pre>

Contact - Imprint