Giter Site home page Giter Site logo

Comments (6)

roshan-mammen-abraham avatar roshan-mammen-abraham commented on August 14, 2024 1

Hello,

Thank you for the resonse. Regarding In 4b_fisher_information, while loading the "lhe_data_shuffled.h5" it says "Did not find nuisance morphing setup" I mentioned it only as I had thought it could be a cause for the latter issue. Nothing more.

Thank you.

from madminer.

Sinclert avatar Sinclert commented on August 14, 2024

👋🏻 Hi Roshan.

Thanks for reporting all these problems. I will address them in order:


In 2A_parton_level_analysis, while loading the "setup.h5" file it throws some errors (attached screenshots). I am not explicitly setting any nuisance parameters for systematics.

These error messages are "expected". When MadMiner jumped from version 0.8.3 to 0.9.0 a huge refactor of the HDF5 interface was made (see this PR for complete context), and these messages were introduced. This was done in order to add visibility when the MadMiner.load method call the load_madminer_settings function (reference) to load settings from a HDF5 file, as it eagerly tries to load every possible setting.

I see how labelling these messages as ERROR is confusing. They should be INFO messages.


In 4b_fisher_information, while loading the "lhe_data_shuffled.h5" it says "Did not find nuisance morphing setup".

That is expected, and as far as I know, that part of the code preserves the same behaviour has < 0.9.0 versions.

Could you elaborate on why this behaviour surprised you?


It then fails at the fisher.histo_information function.

This is the real bug 🐛

I can see that on MadMiner v0.8.3 the DataAnalyzer class was hardcoding False for its include_nuisance_parameters attribute when there were no nuisance parameters (reference), serving as a safe-guard for avoiding nuisance_morpher withing the FisherInformation class (reference).

Even if this approach is the one @rbarrue mentioned on Gitter as option A to fix the problem, it does not feel natural to me, as the class would be overriding the value the user provided, which is not good for traceability purposes.

I will think about a solution to this problem that does not involve overriding the user input.

from madminer.

rbarrue avatar rbarrue commented on August 14, 2024

I believe we could start with a controlled crash with a message informing that the settings should be consistent, e.g. "you asked for systematics, but did not define any in your setup file, confirm your settings and rerun. Exiting..."

@Sinclert is this how it's done in the SW dev. world ?

from madminer.

Sinclert avatar Sinclert commented on August 14, 2024

I proposed a fix in PR #519. @rbarrue check the description + code changes for the details.

from madminer.

rbarrue avatar rbarrue commented on August 14, 2024

Looks great, thanks for the ping @Sinclert !

from madminer.

Sinclert avatar Sinclert commented on August 14, 2024

Just released version 0.9.5 with the fix.

I will close this issue for now. Feel free to open it if the problem persist.

from madminer.

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.