Code Monkey home page Code Monkey logo

Comments (6)

kazewong avatar kazewong commented on August 25, 2024

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.

dfm avatar dfm commented on August 25, 2024

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.

marylou-gabrie avatar marylou-gabrie commented on August 25, 2024

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.

kazewong avatar kazewong commented on August 25, 2024

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.

kazewong avatar kazewong commented on August 25, 2024

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.

kazewong avatar kazewong commented on August 25, 2024

Sampler clean up seems to be done with #10. Closing this issue.

from flowmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.