diff --git a/dev/articles/bbotk.html b/dev/articles/bbotk.html index a75f978a..919b2986 100644 --- a/dev/articles/bbotk.html +++ b/dev/articles/bbotk.html @@ -262,26 +262,26 @@
bbotk
to optimize a f
as.data.table(instance$archive)
#> x1 x2 y timestamp batch_nr x_domain_x1
#> <num> <num> <num> <POSc> <int> <num>
-#> 1: -4.689827 -1.278761 -37.716445 2024-07-24 10:35:43 1 -4.689827
-#> 2: -5.930364 -4.400474 -54.851999 2024-07-24 10:35:43 2 -5.930364
-#> 3: 7.170817 -1.519948 -18.927907 2024-07-24 10:35:43 3 7.170817
-#> 4: 2.045200 -1.519948 7.807403 2024-07-24 10:35:43 4 2.045200
-#> 5: 2.045200 -2.064742 9.123250 2024-07-24 10:35:43 5 2.045200
-#> 6: 2.045200 -2.064742 9.123250 2024-07-24 10:35:43 6 2.045200
-#> 7: 2.045201 -2.064742 9.123250 2024-07-24 10:35:43 7 2.045201
-#> 8: 2.045199 -2.064742 9.123250 2024-07-24 10:35:43 8 2.045199
-#> 9: 2.045200 -2.064741 9.123248 2024-07-24 10:35:43 9 2.045200
-#> 10: 2.045200 -2.064743 9.123252 2024-07-24 10:35:43 10 2.045200
-#> 11: 1.954800 -3.935258 9.123250 2024-07-24 10:35:43 11 1.954800
-#> 12: 1.954801 -3.935258 9.123250 2024-07-24 10:35:43 12 1.954801
-#> 13: 1.954799 -3.935258 9.123250 2024-07-24 10:35:43 13 1.954799
-#> 14: 1.954800 -3.935257 9.123252 2024-07-24 10:35:43 14 1.954800
-#> 15: 1.954800 -3.935259 9.123248 2024-07-24 10:35:43 15 1.954800
-#> 16: 2.000000 -3.000000 10.000000 2024-07-24 10:35:43 16 2.000000
-#> 17: 2.000001 -3.000000 10.000000 2024-07-24 10:35:43 17 2.000001
-#> 18: 1.999999 -3.000000 10.000000 2024-07-24 10:35:43 18 1.999999
-#> 19: 2.000000 -2.999999 10.000000 2024-07-24 10:35:43 19 2.000000
-#> 20: 2.000000 -3.000001 10.000000 2024-07-24 10:35:43 20 2.000000
+#> 1: -4.689827 -1.278761 -37.716445 2024-07-24 10:58:59 1 -4.689827
+#> 2: -5.930364 -4.400474 -54.851999 2024-07-24 10:58:59 2 -5.930364
+#> 3: 7.170817 -1.519948 -18.927907 2024-07-24 10:58:59 3 7.170817
+#> 4: 2.045200 -1.519948 7.807403 2024-07-24 10:58:59 4 2.045200
+#> 5: 2.045200 -2.064742 9.123250 2024-07-24 10:58:59 5 2.045200
+#> 6: 2.045200 -2.064742 9.123250 2024-07-24 10:58:59 6 2.045200
+#> 7: 2.045201 -2.064742 9.123250 2024-07-24 10:58:59 7 2.045201
+#> 8: 2.045199 -2.064742 9.123250 2024-07-24 10:58:59 8 2.045199
+#> 9: 2.045200 -2.064741 9.123248 2024-07-24 10:58:59 9 2.045200
+#> 10: 2.045200 -2.064743 9.123252 2024-07-24 10:58:59 10 2.045200
+#> 11: 1.954800 -3.935258 9.123250 2024-07-24 10:58:59 11 1.954800
+#> 12: 1.954801 -3.935258 9.123250 2024-07-24 10:58:59 12 1.954801
+#> 13: 1.954799 -3.935258 9.123250 2024-07-24 10:58:59 13 1.954799
+#> 14: 1.954800 -3.935257 9.123252 2024-07-24 10:58:59 14 1.954800
+#> 15: 1.954800 -3.935259 9.123248 2024-07-24 10:58:59 15 1.954800
+#> 16: 2.000000 -3.000000 10.000000 2024-07-24 10:58:59 16 2.000000
+#> 17: 2.000001 -3.000000 10.000000 2024-07-24 10:58:59 17 2.000001
+#> 18: 1.999999 -3.000000 10.000000 2024-07-24 10:58:59 18 1.999999
+#> 19: 2.000000 -2.999999 10.000000 2024-07-24 10:58:59 19 2.000000
+#> 20: 2.000000 -3.000001 10.000000 2024-07-24 10:58:59 20 2.000000
#> x1 x2 y timestamp batch_nr x_domain_x1
#> x_domain_x2
#> <num>
@@ -410,20 +410,20 @@ Notes on the optimization archiveinst$terminator = trm("none")
xvals = data.table(h = c(0.6666, 0.6667), w = c(0.6666, 0.6667))
inst$eval_batch(xdt = xvals)
-#> INFO [10:35:44.678] [bbotk] Evaluating 2 configuration(s)
-#> INFO [10:35:44.724] [bbotk] Result of batch 31:
-#> INFO [10:35:44.732] [bbotk] h w y
-#> INFO [10:35:44.732] [bbotk] 0.6666 0.6666 -0.03703704
-#> INFO [10:35:44.732] [bbotk] 0.6667 0.6667 -0.03703704
+#> INFO [10:59:01.019] [bbotk] Evaluating 2 configuration(s)
+#> INFO [10:59:01.065] [bbotk] Result of batch 31:
+#> INFO [10:59:01.073] [bbotk] h w y
+#> INFO [10:59:01.073] [bbotk] 0.6666 0.6666 -0.03703704
+#> INFO [10:59:01.073] [bbotk] 0.6667 0.6667 -0.03703704
tail(as.data.table(instance$archive))
#> x1 x2 y timestamp batch_nr x_domain_x1
#> <num> <num> <num> <POSc> <int> <num>
-#> 1: 1.954800 -3.935259 9.123248 2024-07-24 10:35:43 15 1.954800
-#> 2: 2.000000 -3.000000 10.000000 2024-07-24 10:35:43 16 2.000000
-#> 3: 2.000001 -3.000000 10.000000 2024-07-24 10:35:43 17 2.000001
-#> 4: 1.999999 -3.000000 10.000000 2024-07-24 10:35:43 18 1.999999
-#> 5: 2.000000 -2.999999 10.000000 2024-07-24 10:35:43 19 2.000000
-#> 6: 2.000000 -3.000001 10.000000 2024-07-24 10:35:43 20 2.000000
+#> 1: 1.954800 -3.935259 9.123248 2024-07-24 10:58:59 15 1.954800
+#> 2: 2.000000 -3.000000 10.000000 2024-07-24 10:58:59 16 2.000000
+#> 3: 2.000001 -3.000000 10.000000 2024-07-24 10:58:59 17 2.000001
+#> 4: 1.999999 -3.000000 10.000000 2024-07-24 10:58:59 18 1.999999
+#> 5: 2.000000 -2.999999 10.000000 2024-07-24 10:58:59 19 2.000000
+#> 6: 2.000000 -3.000001 10.000000 2024-07-24 10:58:59 20 2.000000
#> x_domain_x2
#> <num>
#> 1: -3.935259
@@ -439,7 +439,7 @@ Notes on the optimization archiveinst$archive$best()
#> h w y x_domain timestamp batch_nr
#> <num> <num> <num> <list> <POSc> <int>
-#> 1: 0.6667 0.6667 -0.03703704 <list[3]> 2024-07-24 10:35:44 31
+#> 1: 0.6667 0.6667 -0.03703704 <list[3]> 2024-07-24 10:59:01 31
Note, that this method just looks for the best outcome and returns the according row from the archive. For stochastic optimization problems this is overly optimistic and leads to biased results. For this reason diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml index 9b0f6fcc..724526bc 100644 --- a/dev/pkgdown.yml +++ b/dev/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.1.0 pkgdown_sha: ~ articles: bbotk: bbotk.html -last_built: 2024-07-24T10:35Z +last_built: 2024-07-24T10:58Z urls: reference: https://bbotk.mlr-org.com/reference article: https://bbotk.mlr-org.com/articles diff --git a/dev/reference/mlr_optimizers_cmaes.html b/dev/reference/mlr_optimizers_cmaes.html index 6d31141e..aeee835e 100644 --- a/dev/reference/mlr_optimizers_cmaes.html +++ b/dev/reference/mlr_optimizers_cmaes.html @@ -171,16 +171,16 @@