You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Overview
2
2
3
-
This a Python package for building the regression adjusted distribution function estimator proposed in "Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction". For the details of this package, see [the documentation](https://cyberagentailab.github.io/python-dte-adjustment/).
3
+
`dte_adj` is a Python package for estimating distribution treatment effects. It provides APIs for conducting regression adjustment to estimate precise distribution functions as well as convenient utils. For the details of this package, see [the documentation](https://cyberagentailab.github.io/python-dte-adjustment/).
Copy file name to clipboardExpand all lines: docs/source/get_started.rst
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ A convenience function is available to visualize distribution effects. This meth
81
81
:align:center
82
82
83
83
To initialize the adjusted distribution function, the base model for conditional distribution function needs to be passed.
84
-
In the following example, we use Logistic Regression. Please make sure that your base model implements `fit` and `predict_proba` methods.
84
+
In the following example, we use Logistic Regression. Please make sure that your base model implements ``fit`` and ``predict_proba`` methods.
85
85
86
86
.. code-block:: python
87
87
@@ -117,7 +117,7 @@ Confidence bands can be computed in different ways. In the following code, we us
117
117
:width:450px
118
118
:align:center
119
119
120
-
Also, an uniform confidence band is used when "uniform" is specified for the "variance_type" argument.
120
+
Also, an uniform confidence band is used when ``uniform`` is specified for the ``variance_type`` argument.
121
121
122
122
.. code-block:: python
123
123
@@ -130,7 +130,7 @@ Also, an uniform confidence band is used when "uniform" is specified for the "va
130
130
:width:450px
131
131
:align:center
132
132
133
-
To compute PTE, we can use "predict_pte" method.
133
+
To compute PTE, we can use ``predict_pte`` method.
134
134
135
135
.. code-block:: python
136
136
@@ -143,7 +143,7 @@ To compute PTE, we can use "predict_pte" method.
143
143
:width:450px
144
144
:align:center
145
145
146
-
To compute QTE, we use "predict_qte" method. The confidence band is computed by bootstrap method.
146
+
To compute QTE, we use ``predict_qte`` method. The confidence band is computed by bootstrap method.
147
147
148
148
.. code-block:: python
149
149
@@ -157,11 +157,23 @@ To compute QTE, we use "predict_qte" method. The confidence band is computed by
157
157
:width:450px
158
158
:align:center
159
159
160
-
You can use any model with "predict_proba" or "predict" method to adjust the distribution function estimation. For example, the following code use XGBoost classifier to estimate the conditional distribution.
160
+
You can use any model with ``predict_proba`` or ``predict`` method to adjust the distribution function estimation.
161
+
For example, the following code use XGBoost classifier to estimate the conditional distribution.
0 commit comments