Skip to content

Releases: scikit-hep/hepstats

Python 3.13 and an sweights fix

09 Nov 19:55
5991986
Compare
Choose a tag to compare

Python 3.13 support and an adjustable tolerance in the sweights calculation function

Python 3.12

17 Apr 00:07
Compare
Choose a tag to compare

Version 0.8.1


  • Add support for Python 3.12, drop support for Python 3.8
  • Improved support for zfit 0.20+

Thanks to @MoritzNeuberger for finding and proposing a hypothesis test fix.

Python 3.11 support

22 Jun 11:49
cbed58e
Compare
Choose a tag to compare

Upgrade to Python 3.11, removal of 3.7

fix constraint toy generation

17 Apr 19:56
Compare
Choose a tag to compare

Version 0.6.1


  • fix toy generation with constraints
  • minor changes with docs

Multidimensional and binned models

03 Sep 14:01
Compare
Choose a tag to compare

Version 0.6.0


  • Upgrade to Python 3.10 and zfit >= 0.10.0
  • Enhanced speed toy limit calculation
  • Add multidimensionl PDF support
  • Add support for binned data and models

Python 3.9 support

03 Jun 15:16
Compare
Choose a tag to compare

Upgrade to Python 3.9 and drop support for 3.6

0.4.0

22 Apr 13:58
Compare
Choose a tag to compare

Upgrade API to use create_new to make sure that the losses are comparable. Compatible with zfit 0.6.4+

0.3.1

02 Nov 10:47
d139746
Compare
Choose a tag to compare
  • sPlot: Increase the tolerance of the sanity check from 1e-3 to 5e-2, if above the tolerance a ModelNotFittedToData
    exception is raised. In addition if the the check is above the 5e-3 tolerance a warning message is printed.

0.3.0

05 Oct 13:19
e5ef1b8
Compare
Choose a tag to compare
  • New documentation style
  • hepstats can now do hypothesis tests, and compute upper limits and confidence intervals for counting analysis
  • Progess bars are used to see the progression of the generation of the toys

0.2.5

03 Jul 14:27
4436021
Compare
Choose a tag to compare
  • ConfidenceInterval can compute Feldman and Cousin intervals with boundaries (i.e qtilde=True)
  • AsymptoticCalculator asymov weights are now scaled to the number of entries in dataset from loss function if the loss is not extended
  • hepstats.hypotests can now be used even if there is no nuisances. The pll function in utils/fit/diverse.py had to be modified such that if there are no nuisances, the pll function returns the value of the loss function.
  • add notebooks demos for FC intervals with the FrequentistCalculator and AsymptoticCalculator.
  • add warnings when multiple roots are found in ConfidenceInterval
  • move toys .yml files from notebook to notebook/toys