Skip to content

Normalizing flow with a truncated support #41

Answered by francois-rozet
Bill-Gots asked this question in Q&A
Discussion options

You must be logged in to vote

That's why I can't get what 'lazy' refers to (maybe it means 'creation is delayed'?).

Yes exactly, lazy refers to the fact that the actual distribution/transformation is lazily built when needed.

Now I want to limit the samples of that flow in some intervals.

Ok! This is partially answered in #10, but the answer is a bit outdated. You are right, you can do that by adding a transformation to the flow. However, you should think about the kind of transformation to add and where to add it.

So first, what kind of transformation? Normalizing flows like MAF or NSF work in $\mathbb{R}$. So if you want features that are in $[a, b]$, you need a transformation that maps $\mathbb{R} \mapsto [a, b]$

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Bill-Gots
Comment options

@francois-rozet
Comment options

Answer selected by Bill-Gots
@Bill-Gots
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #40 on February 23, 2024 14:12.