EPJ Web of Conferences (Jan 2020)

zfit: scalable pythonic fitting

  • Eschle Jonas,
  • Navarro Puig Albert,
  • Silva Coutinho Rafael,
  • Serra Nicola

DOI
https://doi.org/10.1051/epjconf/202024506025
Journal volume & issue
Vol. 245
p. 06025

Abstract

Read online

Statistical modeling and fitting is a key element in most HEP analyses. This task is usually performed in the C++ based framework ROOT/RooFit. Recently the HEP community started shifting more to the Python language, which the tools above are only loose integrated into, and a lack of stable, native Python based toolkits became clear. We presented zfit, a project that aims at building a fitting ecosystem by providing a carefully designed, stable API and a workflow for libraries to communicate together with an implementation fully integrated into the Python ecosystem. It is built on top of one of the state-of-theart industry tools, TensorFlow, which is used the main computational backend. zfit provides data loading, extensive model building capabilities, loss creation, minimization and certain error estimation. Each part is also provided with convenient base classes built for customizability and extendability.