Skip to content

Embedding Net for Theta (Simulation Inputs) in SNPE or Embedding Net for X (Simulation outputs) in SNLE #1528

Answered by janfb
rmehta1987 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rmehta1987 thanks for raising this question. In general, when performing conditional density estimation, we can only use embeddings for the conditioning variable, i.e., we can use embeddings for x if we do NPE, and we can use embeddings for theta if we do NLE. We generally cannot embed the variable over which we learn the density.

However, NRE is an exception. Because in NRE we perform classification to estimate the ratio, we can actually use embeddings for both theta and x (this should also be reflected in the build function classifier_nn). Thus, for your use-case I would recommend using NRE.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rmehta1987
Comment options

@janfb
Comment options

@rmehta1987
Comment options

@janfb
Comment options

@rmehta1987
Comment options

Answer selected by janfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #1526 on March 22, 2025 12:17.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy