Commit e5c97da6 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.0.9.76 param_optim vignette updated (set.seed to have a good convergence with malschains)

Showing with 5 additions and 5 deletions
+5 -5
Package: airGR Package: airGR
Type: Package Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.9.75 Version: 1.0.9.76
Date: 2018-02-01 Date: 2018-04-04
Authors@R: c( Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl")), person("Laurent", "Coron", role = c("aut", "trl")),
person("Charles", "Perrin", role = c("aut", "ths")), person("Charles", "Perrin", role = c("aut", "ths")),
......
...@@ -14,7 +14,7 @@ output: ...@@ -14,7 +14,7 @@ output:
### 1.0.9.75 Release Notes (2018-02-01) ### 1.0.9.765 Release Notes (2018-04-04)
____________________________________________________________________________________ ____________________________________________________________________________________
......
...@@ -16,7 +16,7 @@ library(DEoptim) ...@@ -16,7 +16,7 @@ library(DEoptim)
library(hydroPSO) library(hydroPSO)
library(Rmalschains) library(Rmalschains)
# source("airGR.R") # source("airGR.R")
set.seed(123) set.seed(321)
``` ```
...@@ -154,7 +154,7 @@ optMALS <- Rmalschains::malschains(fn = OptimGR4J, ...@@ -154,7 +154,7 @@ optMALS <- Rmalschains::malschains(fn = OptimGR4J,
As it can be seen in the table below, the four additional optimization strategies tested lead to very close optima. As it can be seen in the table below, the four additional optimization strategies tested lead to very close optima.
```{r, warning=FALSE, echo=FALSE} ```{r, warning=FALSE, echo=FALSE}
data.frame(Algo = c("Michel", "PORT", "DE", "PSO", "MA-LS"), data.frame(Algo = c("airGR", "PORT", "DE", "PSO", "MA-LS"),
round(rbind( round(rbind(
OutputsCalib$ParamFinalR , OutputsCalib$ParamFinalR ,
airGR::TransfoParam_GR4J(ParamIn = optPORT$par , Direction = "TR"), airGR::TransfoParam_GR4J(ParamIn = optPORT$par , Direction = "TR"),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment