Repository navigation
Density Estimator Class - #952
Conversation
|
@michaeldeistler @janfb this is bare bones at the moment, could use some feedback. Specifically, how much do we want |
michaeldeistler
left a comment
There was a problem hiding this comment.
Overall, I like the structure. I believe that a more natural file location would be sbi/neural_nets/density_estimators/....
Beyond that I made many detailed comments below. Most important would be:
- I do not think that the
FlowDensityEstimatoris working right now because it does not follow the nflows API. - Please write of the
FlowDensityEstimator, even if they are only API tests.
|
As for your question: I think the scope of the |
|
Thanks for the comments! I applied most of the suggestions, but have some questions regarding a couple of your comments, where I could use some extra clarification. |
|
New PR:
|
|
Thanks again for the comments! New commit should resolve these.
Once this PR is is merged, we can work on these! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #952 +/- ##
==========================================
+ Coverage 76.02% 76.08% +0.06%
==========================================
Files 80 83 +3
Lines 6332 6361 +29
==========================================
+ Hits 4814 4840 +26
- Misses 1518 1521 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
janfb
left a comment
There was a problem hiding this comment.
great work! 👏
Added another round of comments. Happy to discuss later when we meet.
manuelgloeckler
left a comment
There was a problem hiding this comment.
Great, thanks for finishing it. Let's get it merged.
janfb
left a comment
There was a problem hiding this comment.
looks good, thanks a lot!
I think the unticked goals in the PR description can be moved to future PRs / separate issues.
|
Hello, just a comment that it might be worth adding a By the way, Zuko flows already have an |
fix #932
Goals:
.train()methods