Comments (6)
For configuration, we should look into different options for configuration.
I think .yaml and Hydra is pretty good for this purpose https://hydra.cc/
Once we have decided, we can move forward in moving the config dictionary out of the example script.
from flowmc.
I have so many opinions about this. I am confident that yaml and hydra are not the right choices... Happy to chat more!
from flowmc.
Concerning the output - we should also think of the right data structure to collect all of our outputs. Desired outputs already mentioned:
- chains (-> which format? One of the traditional sampling package, including to have named variables?)
- NF learned weights
- global/local acceptance
- NF loss over training iterations
from flowmc.
I have so many opinions about this. I am confident that yaml and hydra are not the right choices... Happy to chat more!
@dfm I don't have strong opinion on how to do this, happy to learn about different options!
from flowmc.
In branch samplerCleanUp commit a473131,
the configuration parameters are moved within the sampler class.
It doesn't necessarily shorten the examples, but the variables are more well defined since they are variables within a class instead of key-value pairs in a dict.
Tested in dual moon example.
from flowmc.
Sampler clean up seems to be done with #10. Closing this issue.
from flowmc.
Related Issues (20)
- `jax.interpreters.pxla` has no attribute `ShardedDeviceArray` HOT 2
- Image of the function in tutorial HOT 1
- Ensemble training of normalizing flow
- Question about integrating with bayeux HOT 9
- Sampling from arrays
- Get rid of random_key_set
- Clean up parameter names HOT 1
- Question regarding the data for the log-likelihood HOT 3
- Use scan to reduce NF compilation time
- Making sampler composable
- Put training loop into NF class
- TypeError: unsupported operand type(s) for *: `dict` and `dict` in MALA.py after flowMC-v3.0.0 release HOT 4
- Implement optimization strategy
- Add probability floor to normalizing flow model
- [Fixed bug, but not in release] UnboundLocalError: local variable 'best_state' referenced before assignment HOT 2
- Update examples
- Lower precision training HOT 1
- Why do we have to pass data two times? HOT 1
- Refine strategy interface
- Implement flow matching
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowmc.