Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
output:
github_document:
fig_width: 8
fig_height: 5
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file. -->
Expand All @@ -11,14 +8,12 @@ output:
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
dpi = 120,
#fig.path = "man/figures/README-",
#dpi = 120,
warning = FALSE,
message = FALSE
)
knitr::opts_knit$set(
base.url = "https://github.com/ielbadisy/funcml/raw/main/"
)
#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)
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ eval_obj
plot(eval_obj)
```

![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-evaluate-plot-1.png)<!-- -->
![](README_files/figure-gfm/evaluate-plot-1.png)<!-- -->

`funcml` also supports grouped cross-validation, time-based resampling,
and holdout validation through `group_cv()`, `time_cv()`, and
Expand Down Expand Up @@ -324,7 +324,7 @@ tune_obj
plot(tune_obj)
```

![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-tune-plot-1.png)<!-- -->
![](README_files/figure-gfm/tune-plot-1.png)<!-- -->

## Compare learners

Expand Down Expand Up @@ -363,7 +363,7 @@ compare_obj
plot(compare_obj)
```

![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-compare-plot-1.png)<!-- -->
![](README_files/figure-gfm/compare-plot-1.png)<!-- -->

## Interpret fitted models

Expand Down Expand Up @@ -392,7 +392,7 @@ summary(permute_obj)
plot(permute_obj)
```

![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-interpret-permute-plot-1.png)<!-- -->
![](README_files/figure-gfm/interpret-permute-plot-1.png)<!-- -->

A second example shows accumulated local effects for one feature from
the same fitted model.
Expand All @@ -409,7 +409,7 @@ ale_obj <- interpret(
plot(ale_obj)
```

![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-interpret-ale-1.png)<!-- -->
![](README_files/figure-gfm/interpret-ale-1.png)<!-- -->

Other supported methods include PDP, ICE, SHAP, local explanations,
surrogate models, interaction diagnostics, and calibration plots.
Expand All @@ -432,7 +432,7 @@ calibration_obj <- interpret(
plot(calibration_obj)
```

![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-calibration-1.png)<!-- -->
![](README_files/figure-gfm/calibration-1.png)<!-- -->

## Estimate causal effects

Expand Down Expand Up @@ -463,7 +463,7 @@ est_obj
plot(est_obj)
```

![](https://github.com/ielbadisy/funcml/raw/main/man/figures/README-estimate-plot-1.png)<!-- -->
![](README_files/figure-gfm/estimate-plot-1.png)<!-- -->

The same interface also supports `ATT`, `CATE`, and `IATE`.

Expand Down
Binary file modified README_files/figure-gfm/calibration-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/compare-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/estimate-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/evaluate-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/interpret-ale-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/interpret-permute-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/tune-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading