Comments (6)
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.
👋🏻 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.
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.
I proposed a fix in PR #519. @rbarrue check the description + code changes for the details.
from madminer.
Looks great, thanks for the ping @Sinclert !
from madminer.
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)
- Migrate CI and CD from Travis CI to GitHub Actions workflows HOT 5
- Python 2 → 3 conversion error HOT 2
- [Bug?] An unsuitable calling to initializing function(__init__) of class MadMinerParticle HOT 10
- Define Jupyter notebooks automatic tests HOT 2
- [Internal] Define data models HOT 1
- LHE analysis error when parsing observables
- Handling of all PDF uncertainty sets HOT 6
- Bug in calculation of full Fisher information for ensemble with calculate_covariance=False HOT 1
- Crash in load_madminer_settings in files with custom observables HOT 13
- Increase test coverage
- Remove restrictions on Dependabot GitHub Actions update HOT 2
- Add Overdetermined morphing and addtional testings HOT 1
- Systematics cannot be read by MadGraph HOT 3
- AttributeError: 'AsymptoticLimits' object has no attribute '_calculate_partition_bound' HOT 3
- Use gh-action-pypi-publish v1.7.0+ APIs HOT 2
- FileNotFoundError for event generation HOT 1
- Stuck in reweighting
- Possible error in filepath lookup?
- Add matthewfeickert as collaborator with owner role on PyPI HOT 5
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 madminer.