zfit / zfit-development

The developement repository for zfit with roadmaps, internal docs etc to clean up the issues
0 stars 2 forks source link

Binned fits - API and Specs #48

Open jonas-eschle opened 4 years ago

jonas-eschle commented 4 years ago

The strategy for binned fits is discussed here.

Goals and reasoning

There are four different use cases that need to be covered, namely the combinations from:

The focus is on the two use cases:

Therefore, two kind of models and datasets are needed: unbinned and binned. This allows to implement the above cases independently and highly efficient. Conversion methods should be provided to convert e.g. a binned to an unbinned pdf, but the efficiency may be comparably low.

Vector Paramters

Furthermore, unbinned fits with parametric models typically contain up to max 100 parameters and a single object for each parameter is reasonable. However, for the binned case, a vectorized parameter (as other libraries use for this case) is necessary and discussed in https://github.com/zfit/zfit-development/issues/44

Limitations/Assumptions