Skip to content

make apt works #42

@Justinezgh

Description

@Justinezgh

Hi @EiffL here is a notebook to test apt on a toy gaussian model:

image

where the goal is to learn the posterior distribution (in red) from the proposal (in green).

To validate the loss I plan to follow these steps:

With not smooth NF:

1.  Learn the posterior from the prior
  a. with nll loss
  b. with apt loss 

-> should get the same contours. 

If validated:

2.  Learn the posterior from the proposal
  a. with nll loss (weird behavior is expected)
  b. with apt loss (should get the correct contours)

-> if it works then apt loss is validated and we can test it on our smooth nf

Do the same with Smooth NF

In the notebook you can choose which experiment you want to perform through:

smooth = False
proposal = False
loss_apt = False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions