diff --git a/README.Rmd b/README.Rmd index 84f101d..7aed636 100644 --- a/README.Rmd +++ b/README.Rmd @@ -16,6 +16,9 @@ knitr::opts_chunk$set( warning = FALSE, message = FALSE ) +knitr::opts_knit$set( + base.url = "https://github.com/ielbadisy/funcml/raw/main/" +) pkgload::load_all(".", export_all = FALSE, helpers = FALSE, quiet = TRUE) ggplot2::theme_set(theme_funcml()) set.seed(42) diff --git a/README.md b/README.md index 7b6a121..6f37414 100644 --- a/README.md +++ b/README.md @@ -281,7 +281,7 @@ eval_obj plot(eval_obj) ``` -![](man/figures/README-evaluate-plot-1.png) +![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-evaluate-plot-1.png) `funcml` also supports grouped cross-validation, time-based resampling, and holdout validation through `group_cv()`, `time_cv()`, and @@ -324,7 +324,7 @@ tune_obj plot(tune_obj) ``` -![](man/figures/README-tune-plot-1.png) +![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-tune-plot-1.png) ## Compare learners @@ -363,7 +363,7 @@ compare_obj plot(compare_obj) ``` -![](man/figures/README-compare-plot-1.png) +![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-compare-plot-1.png) ## Interpret fitted models @@ -392,7 +392,7 @@ summary(permute_obj) plot(permute_obj) ``` -![](man/figures/README-interpret-permute-plot-1.png) +![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-interpret-permute-plot-1.png) A second example shows accumulated local effects for one feature from the same fitted model. @@ -409,7 +409,7 @@ ale_obj <- interpret( plot(ale_obj) ``` -![](man/figures/README-interpret-ale-1.png) +![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-interpret-ale-1.png) Other supported methods include PDP, ICE, SHAP, local explanations, surrogate models, interaction diagnostics, and calibration plots. @@ -432,7 +432,7 @@ calibration_obj <- interpret( plot(calibration_obj) ``` -![](man/figures/README-calibration-1.png) +![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-calibration-1.png) ## Estimate causal effects @@ -463,7 +463,7 @@ est_obj plot(est_obj) ``` -![](man/figures/README-estimate-plot-1.png) +![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-estimate-plot-1.png) The same interface also supports `ATT`, `CATE`, and `IATE`.