Giter Club home page Giter Club logo

causal-gen's People

Contributors

dependabot[bot] avatar fabio-deep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

causal-gen's Issues

Gumbel trick implementation

Hello,

x = transform.inv(y)
event_dim += transform.domain.event_dim - transform.codomain.event_dim
log_prob = log_prob - _sum_rightmost(
transform.log_abs_det_jacobian(x, y),
event_dim - transform.domain.event_dim, )
y = x

Why is x passed as argument to the method log_abs_det_jacobian? It is supposed that this function takes only one argument.

Also, why does this function implement the abs det jacobian of the gumbel transformation? In which part is p_x(g-1(y)) implemented?

Thanks in advance!

Test Code Requirement

Could you release the test code for testing models according to MAE? I urgently need to conduct some experiments with your code. Great thank you for your kind help!

About ColorMNIST dataset

Hello,
Where could I find the version of the ColorMNIST dataset that is produced according to the SCM which is described in this paper. Is ColorMNIST available in this repository?

Thank you in advance!

code

How to run experiments on Morpho-MNIST dataset in code

little confused about train_cf.py

Hi, sir,thanks for the implementation! I'd think it is a great work!

I am little confused with specific counterfactual training steps. It seems that the network in "train_cf.py" only take single counterfactual parent into account during training. But there are actually multi counterfactual parents when infering(Like the case shown in Hugging Face).

So should I run the "train_cf.py" for every counterfactual parent (thickness->intensity->digit) one by one during training ?

temperature value t_u

Hello,
I wanted to ask why the counterfactual cf_scale is multiplied with a temperature value t_u=0.1 in eval_example.ipynb. Would it be possible to use other t_u values as well? Is there any criterion to determine the best temp value?

t_u=0.1
cf_loc, cf_scale = vae.forward_latents(z, parents=_cf_pa)
cf_scale = cf_scale * t_u

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.