Machine Learning For Data Science 2 - Normalizing Flows V2
Machine Learning For Data Science 2 - Normalizing Flows V2
David Nabergoj
University of Ljubljana, Faculty of Computer and Information Science
October 12, 2023, Ljubljana
Finding well-fitting distributions
● Let’s take some samples from a 1D data-generating process
● What distribution would be a good fit?
● To generate data: sample from the base distribution, transform the sample
with the inverse map.
What does sampling look like?
The small question
● What base distribution do we use?
● Receive y as input
● Split it into y1, y2
● Keep x1 = y1
● Take x1 and use it to predict (s, t)
● x2 = (y2 - t) / s
● Concatenate x1 and x2 into x :)
Coupling flows
These maps are called coupling layers.
In general:
But:
The detail: