Alexander Held

Results 211 comments of Alexander Held

Hi @tancredicarli, the default number of allowed iterations in the minimization is 100k. If that is reached, the above error occurs. You can pass a `maxiter` argument to `pyhf.infer.mle.fit` to...

Hi @tancredicarli, I made a bit of progress debugging this setup and have an idea for what may be going wrong. The original code uses ```python model = workspace.model(poi_name=None) #...

Another thing getting lost is the measurement config `name` field, which is replaced by a generic `"measurement"`.

Related to the discussion in https://github.com/scikit-hep/cabinetry/issues/382, it may be good to provide a suitable schema for this as well (perhaps same PR makes sense?).

Small edge case: if you define a custom parameter to plug into `add_custom_modifier` and then define that parameter again in the "normal" way as a `normfactor` attached to a sample...

While giving this another try, I ran into something that is either a bug or a usage question. I also have some API feedback. I opened #2350 for this to...

This is an interesting example where minimization can fail for what looks like a rather simple model. I simplified this a bit further down to two bins: ```python import numpy...

From some further experimentation I think the main problem is that the POI bounds are too small given the sensitivity and that the default tolerance is too high. The attached...

That works indeed, I was not aware I could use it like that. Essentially means getting an error ``` FileNotFoundError: file not found '/some/path/to/the/file/from/when/workspace/was/created/workspace.root' ``` and then using ```bash pyhf...

I agree that "incorrect" is not a good description, maybe "inconsistent with the definition" is better. The question about the usefulness of that approach in such a scenario stands of...