-
-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a pyro.contrib.cevae module (#2202)
* Refactor and add docs to pyro.contrib.cevae * Add smoke tests * Add link to docs * Fix typos * Install graphviz on travis * Add a jit_trace method * Improve jit support; move example * Rename method * Get CEVAE to work on large real dataset * Support batching in CEVAE.ite() * Generalize to Bernoulli or Normal outcomes * Fix clamping bounds * Add StudentT observation distribution * Add Exponential outcome distribution * Add LaplaceNet * Fix architecture according to original code * Address review comment * Fix placement of activations in twin networks * Fix sign errors
- Loading branch information
Showing
9 changed files
with
850 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ addons: | |
- gcc-8 | ||
- g++-8 | ||
- ninja-build | ||
- graphviz # for sphinx docs | ||
|
||
cache: | ||
directories: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
Causal Effect VAE | ||
================= | ||
|
||
.. automodule:: pyro.contrib.cevae | ||
|
||
CEVAE Class | ||
----------- | ||
.. autoclass:: pyro.contrib.cevae.CEVAE | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
CEVAE Components | ||
---------------- | ||
.. autoclass:: pyro.contrib.cevae.Model | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.Guide | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.TraceCausalEffect_ELBO | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
Utilities | ||
--------- | ||
.. autoclass:: pyro.contrib.cevae.FullyConnected | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.DistributionNet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.BernoulliNet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.ExponentialNet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.LaplaceNet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.NormalNet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.StudentTNet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource | ||
|
||
.. autoclass:: pyro.contrib.cevae.DiagNormalNet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:member-order: bysource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.