Skip to content

Commit bd9ff71

Browse files
committed
Integrate dark mode images, add padding
1 parent 086e3b7 commit bd9ff71

4 files changed

+10
-6
lines changed

docs/imgs/component_eval_white.drawio.svg

+1-1
Loading

docs/imgs/component_reuse_white.drawio.svg

+1-1
Loading

docs/imgs/covariate_sets_white.drawio.svg

+1-1
Loading

docs/motivation.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ While MetaLearners are, in principle, designed in a very modular fashion, we've
3333

3434
One reason to access the base models is to evaluate their individual performance. Due to the fundamental problem of Causal Inference, we are not able to evaluate a MetaLearner based on a simple metric measuring the mismatch between estimate and ground truth. Yet, we might want to do this for our base learners which often do have ground truth labels to compare the estimates to. Yet, this is not supported by `econml` and `causalml`.
3535

36-
![Component Evaluation](imgs/component_eval.drawio.svg)
36+
![Component Evaluation](imgs/component_eval.drawio.svg#only-light)
37+
![Component Evaluation](imgs/component_eval_white.drawio.svg#only-dark)
3738

3839
In the illustration above, we indicate that we'd like to access, predict with, and evaluate a propensity model -- one base model of the MetaLearner at hand -- in isolation.
3940

@@ -49,7 +50,9 @@ We envision two concrete use cases where this might be relevant in that it would
4950

5051
- When training several MetaLearner architectures on the same dataset, some base models might be part of the design of several of these MetaLearner architectures. An example of this could be an outcome model, used in both the R-Learner and DR-Learner. In such a scenario, it seems desirable to reuse the conceptually equivalent outcome model instead of training it several times.
5152

52-
![Component Reuse](imgs/component_reuse.drawio.svg)
53+
![Component Reuse](imgs/component_reuse.drawio.svg#only-light)
54+
![Component Reuse](imgs/component_reuse_white.drawio.svg#only-dark)
55+
5356

5457
The illustration above indicates the intention to reuse an already trained base estimator as part of a MetaLearner.
5558

@@ -71,7 +74,8 @@ Most base learners in a MetaLearner expect some covariate matrix `X`. Conceptual
7174

7275
In the following illustration, we indicate that we have a column-wise partitioning of `X` into `X1` and `X2`. One base estimator relies on `X1` only, one on `X2` only, and one on `X`, i.e., `X1` and `X2`.
7376

74-
![Covariate Sets](imgs/covariate_sets.drawio.svg)
77+
![Covariate Sets](imgs/covariate_sets.drawio.svg#only-light)
78+
![Covariate Sets](imgs/covariate_sets_white.drawio.svg#only-dark)
7579

7680
For this reason, we would want to be able to define which covariate set is used by which base learner. This is currently not supported by `econml` or `causalml`.
7781

0 commit comments

Comments
 (0)