From 4ae2d48ce668bcf746bbc3e18440aab56cf4b629 Mon Sep 17 00:00:00 2001 From: nspyrison Date: Wed, 1 Nov 2023 20:15:09 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20nspyriso?= =?UTF-8?q?n/cheem@c3e90de862d7c69d9a675922398b9fb0fa2bca78=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/getting-started-with-cheem.html | 2 +- authors.html | 4 ++-- pkgdown.yml | 2 +- reference/cheem_ls.html | 28 ++++++++++++++++++++---- reference/problem_type.html | 6 +++-- reference/rnorm_from.html | 14 ++++++------ search.json | 2 +- 7 files changed, 40 insertions(+), 18 deletions(-) diff --git a/articles/getting-started-with-cheem.html b/articles/getting-started-with-cheem.html index 2b75a67..c63157c 100644 --- a/articles/getting-started-with-cheem.html +++ b/articles/getting-started-with-cheem.html @@ -75,7 +75,7 @@

Nicholas Spyrison

-

2023-10-26

+

2023-11-01

Source: vignettes/getting-started-with-cheem.Rmd
getting-started-with-cheem.Rmd
diff --git a/authors.html b/authors.html index b1de44a..c8f8cd6 100644 --- a/authors.html +++ b/authors.html @@ -64,13 +64,13 @@

Citation

Spyrison N (2023). cheem: Interactively Explore Local Explanations with the Radial Tour. -R package version 0.3.1.9000, https://github.com/nspyrison/cheem/. +R package version 0.3.1.9000, https://nspyrison.github.io/cheem/, https://github.com/nspyrison/cheem/.

@Manual{,
   title = {cheem: Interactively Explore Local Explanations with the Radial Tour},
   author = {Nicholas Spyrison},
   year = {2023},
-  note = {R package version 0.3.1.9000},
+  note = {R package version 0.3.1.9000, https://nspyrison.github.io/cheem/},
   url = {https://github.com/nspyrison/cheem/},
 }
diff --git a/pkgdown.yml b/pkgdown.yml index d853966..1ac2ab2 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,5 +3,5 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: getting-started-with-cheem: getting-started-with-cheem.html -last_built: 2023-10-26T19:53Z +last_built: 2023-11-01T20:14Z diff --git a/reference/cheem_ls.html b/reference/cheem_ls.html index 947b521..9a27770 100644 --- a/reference/cheem_ls.html +++ b/reference/cheem_ls.html @@ -1,7 +1,11 @@ -Preprocessing for use in shiny app — cheem_ls • cheemPreprocessing for use in shiny app — cheem_ls • cheem @@ -55,7 +59,9 @@

Performs the preprocessing steps needs to supply the plot functions -global_view() and radial_cheem_tour() used in the shiny app.

+global_view() and radial_cheem_tour() used in the shiny app. +The user need to supply the attributions and predictions. For help getting +started with this see vignette("getting-started-with-cheem").

@@ -135,6 +141,13 @@

ExamplesY <- spinifex::penguins_na.rm$species clas <- spinifex::penguins_na.rm$species +## Bring your own attributions and predictions, +## for help review the vignette or package down site; +if(FALSE){ + vignette("getting-started-with-cheem") + browseURL("https://nspyrison.github.io/cheem/articles/getting-started-with-cheem.html") +} + ## Cheem peng_chm <- cheem_ls(X, Y, penguin_xgb_shap, penguin_xgb_pred, clas, label = "Penguins, xgb, shapviz") @@ -165,6 +178,13 @@

ExamplesY <- dat$SalePrice clas <- dat$SubclassMS +#' ## Bring your own attributions and predictions, +## for help review the vignette or package down site; +if(FALSE){ + vignette("getting-started-with-cheem") + browseURL("https://nspyrison.github.io/cheem/articles/getting-started-with-cheem.html") +} + ## Cheem list ames_rf_chm <- cheem_ls(X, Y, ames_rf_shap, ames_rf_pred, clas, label = "North Ames, RF, treeshap") diff --git a/reference/problem_type.html b/reference/problem_type.html index e73a017..a8ba9bc 100644 --- a/reference/problem_type.html +++ b/reference/problem_type.html @@ -104,11 +104,13 @@

See alsoExamples

library(cheem)
 
-problem_type(mtcars$mpg)
+problem_type(mtcars$mpg) ## Numeric, many values
 #> [1] "regression"
 problem_type(mtcars$cyl) ## Numeric column, labeled as discrete, because less than 25 unique values
 #> [1] "classification"
-problem_type(letters)
+problem_type(letters) ## Character to classification
+#> [1] "classification"
+problem_type(factor(letters)) ## Factor to classification
 #> [1] "classification"
 
diff --git a/reference/rnorm_from.html b/reference/rnorm_from.html index 384b48c..1c7cee4 100644 --- a/reference/rnorm_from.html +++ b/reference/rnorm_from.html @@ -123,13 +123,13 @@

Examples## Draw 3 new observations in the shape of 6 cylinder vehicles, with reduced variance. rnorm_from(data = sub, n_obs = 3, var_coeff = .5) #> mpg cyl disp hp drat wt qsec vs -#> 1 20.18640 5.999999 159.4097 115.4933 3.179010 3.072433 17.83410 0.994520 -#> 2 18.51933 6.000001 151.8549 121.4423 2.646591 3.559047 18.60121 1.679187 -#> 3 19.12215 6.000000 152.9258 119.2749 3.770287 3.281009 17.83470 1.078275 -#> am gear carb -#> 1 0.005485345 4.237722 4.150735 -#> 2 -0.679188544 4.389853 4.043657 -#> 3 -0.078275741 4.401107 4.814889 +#> 1 18.87651 5.999999 169.5794 110.4363 2.774458 3.583651 19.37711 1.713741 +#> 2 20.40398 6.000000 211.8722 84.5746 2.414072 3.504433 21.10858 1.799676 +#> 3 18.73140 6.000001 181.9100 100.9897 4.675145 3.545630 19.38808 1.224847 +#> am gear carb +#> 1 -0.7137399 3.893565 2.9863306 +#> 2 -0.7996731 2.718460 0.1269236 +#> 3 -0.2248414 3.571156 3.3951520