scikit-hep / pyhf

pure-Python HistFactory implementation with tensors and autodiff
https://pyhf.readthedocs.io/
Apache License 2.0
279 stars 83 forks source link

Scope of pyhf.infer #881

Open alexander-held opened 4 years ago

alexander-held commented 4 years ago

Question

What is the planned scope of pyhf.infer? For fit model studies, there is a range of useful functionality that could be implemented either there or manually by the analyzer in need of the functionality. I believe there might be a set of features needed by sufficiently many people that a central implementation would avoid duplicate work.

This is an incomplete list that can probably be expanded:

Relevant Issues and Pull Requests

500, #653, #667

lukasheinrich commented 4 years ago

Hi @alexander-held

I think all of these points can be covered. The idea is ideally to factor our pyhf.infer from pyhf and as such the API should be kept generic and not touch on model detail specific to HistFactory. But as far as I understand you're not requesting anything HF specific.

alexander-held commented 4 years ago

This is a good point, there is nothing HistFactory specific here, it's something more in the RooStats world I guess.

kratsg commented 4 years ago

This should be addressed on some level by #948 as well.