From 3ab656e700c214d703948b0b213fe1470f92e4ef Mon Sep 17 00:00:00 2001 From: giuseppec Date: Tue, 20 Aug 2024 04:09:44 +0000 Subject: [PATCH] Deploy from Github Actions build 10465033065 [ci skip] Build URL: https://github.com/giuseppec/iml/actions/runs/10465033065 Commit: 9c08213af03af28fe817f6e367421e9d6b6013dd --- articles/parallel.html | 22 +++++++++++----------- pkgdown.yml | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/articles/parallel.html b/articles/parallel.html index d27f1ee2..dd93dacf 100644 --- a/articles/parallel.html +++ b/articles/parallel.html @@ -141,13 +141,13 @@

Going parallel FeatureImp$new(predictor, loss = "mae") }) #> process real -#> 1.95s 1.92s +#> 2.28s 2.24s bench::system_time({ plan("callr", workers = 2) FeatureImp$new(predictor, loss = "mae") }) -#> process real -#> 129.8ms 1.9s +#> process real +#> 200.59ms 2.47s

A little bit of improvement, but not too impressive. Parallelization is more useful in the case where the model uses a lot of features or where the feature importance computation is repeated more often to get @@ -158,14 +158,14 @@

Going parallel FeatureImp$new(predictor, loss = "mae", n.repetitions = 10) }) #> process real -#> 3.32s 3.27s +#> 3.77s 3.71s bench::system_time({ plan("callr", workers = 2) FeatureImp$new(predictor, loss = "mae", n.repetitions = 10) }) -#> process real -#> 137.9ms 2.8s +#> process real +#> 234.52ms 3.53s

Interaction

@@ -179,13 +179,13 @@

InteractionInteraction$new(predictor, grid.size = 15) }) #> process real -#> 7.1s 7s +#> 7.63s 7.51s bench::system_time({ plan("callr", workers = 2) Interaction$new(predictor, grid.size = 15) }) -#> process real -#> 118.8ms 4.93s

+#> process real +#> 208.35ms 5.84s

Feature Effects @@ -197,13 +197,13 @@

Feature Effects FeatureEffects$new(predictor) }) #> process real -#> 721ms 710ms +#> 873ms 860ms bench::system_time({ plan("callr", workers = 2) FeatureEffects$new(predictor) }) #> process real -#> 477.07ms 2.49s

+#> 644.77ms 2.98s diff --git a/pkgdown.yml b/pkgdown.yml index 035af6c1..b21913c9 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -4,4 +4,4 @@ pkgdown_sha: ~ articles: intro: intro.html parallel: parallel.html -last_built: 2024-08-19T04:06Z +last_built: 2024-08-20T04:08Z