Recent Releases of autohist.jl

autohist.jl - v1.0.0

First stable release!

Release notes:

Breaking changes

  • Changed the AutomaticHistogram to use type parameters for some of its fields. As a result, the type of h is now concrete, which was previously not the case.
  • Added type parameter for the logprior field of RRH. As a result, the type of instances of RRH is a concrete one.

Changes

  • Added the new method autohist which can be used to fit histograms without having to rely on the more verbose fit-syntax.
  • Added the Bayesian Blocks method for constructing irregular histograms as described in https://doi.org/10.1088/0004-637X/764/2/167
  • Added a new quantile method for objects of type AutomaticHistogram, allowing the userto evaluate the quantile function of the estimated histogram at a given input point.

- Julia
Published by oskarhs 6 months ago

autohist.jl - v0.7.2

Release notes:

Changes

  • Fixed an error in the RMG_penR criterion
  • Fixed a bug with the maxbins parameter for regular histograms. Now, the user can set maxbins to any value as intended, while previously a cutoff at 1000 was enforced. The default choice still uses a maximum of 1000 bins.
  • All irregular histogram rules now throw an error message if an inappropriate subtype of AbstractAlgorithm is passed to the alg kwarg.
  • Rule-related errors are now thrown when attempting to construct a given rule with invalid parameters, instead of when calling fit (when possible).

- Julia
Published by oskarhs 7 months ago

autohist.jl - v0.7.1

Release notes:

Changes

  • Fixed a bug in the RMG_penR criterion.
  • Added doctests for all rules, showcasing their use.

- Julia
Published by oskarhs 7 months ago

autohist.jl - v0.7.0

Release notes:

Breaking changes

  • Updated public API for better maintainability and extendability. Each histogram binning rule is now implemented as a struct that takes in rule-specific keyword arguments. Correspondingly, the fit method now takes in a binning rule as its third argument. We refer to the documentation for further explanations of the new syntax.

- Julia
Published by oskarhs 7 months ago

autohist.jl - v0.6.0

Release notes:

Breaking changes

  • Removed the GPDP algorithm after it was shown to perform poorly for several simulated examples.

Other changes

  • Users can now compute the Kullback-Leibler divergence between two histogram densities via distance() function by supplying :kl as the third argument.
  • Added a new cdf method for AutomaticHistogram, to evaluate the cumulative distribution function of a histogram at a given point.

- Julia
Published by oskarhs 7 months ago

autohist.jl - v0.5.0

Release notes:

Breaking changes

  • Added Knuth's rule for regular histograms, accessible as rule=:knuth. Changed default rule for histogram_regular() to rule=:knuth.
  • fit() method now has a new keyword option for rule, :default, which uses the default binning rule for the specified type. This replaces :bayes as the new default value of rule for this method.
  • Added a new keyword argument for irregular histogram construction, alg, which controls the parameters of the optimization algorithm used.

Other changes

  • Added a new section to the documentation with two in-depth examples and an example showcasing different algorithms.
  • Added an \approx operator for AutomaticHistogram.
  • Added a function to compute a statistical distance between two AutomaticHistograms.
  • Improved the implementation of the greedy preprocessing algorithm, resulting in faster runtimes.

- Julia
Published by oskarhs 7 months ago

autohist.jl - v0.4.0

Release notes:

Breaking changes

  • Weakened [compat] requirements.
  • regularhistogram and irregularhistogram now throw errors if the supplied keyword arguments are not supported.
  • Both histogram methods now return an object of type AutomaticHistogram instead of a Statsbase.Histogram.

Other changes

  • Added the AutomaticHistogram type, along with several methods. The AutomaticHistogram has some additional fields compared to StatsBase.Histogram.
  • Added a Plots extension for the new Histogram type.

- Julia
Published by oskarhs 8 months ago

autohist.jl - v0.3.0

Release notes:

Breaking changes

  • Changed some keyword arguments of histogramirregular and histogramregular to use symbols instead of strings. These include: rule and grid.
  • Removed the "right" keyword in favor of "closed". This new keyword now controls whether to use left or right inclusive intervals by specifying the closed=:left or closed=:right, respectively. This new notation in line with the syntax used by StatsBase's Histogram.

Other changes

  • Added some minor improvements to the documentation.

- Julia
Published by oskarhs 8 months ago

autohist.jl - v0.2.2

Release notes:

Breaking changes

  • Added FFTW as a dependency

Other changes

  • Added several "classical" methods for regular histogram construction. These include Sturges', Scott's, Wand's and Freedman and Diaconis' rules.
  • Made various improvements to the documentation.

- Julia
Published by oskarhs 9 months ago

autohist.jl - v0.2.1

Release notes:

  • Fixed bug in greedy_grid, where log-likelihood contribution was not computed correctly

- Julia
Published by oskarhs 9 months ago

autohist.jl - v0.2.0

Release notes:

  • Added documentation using Documenter.jl
  • Wrote additional tests to ensure better coverage.
  • Fixed a bug in the l2cv method for irregular histograms.

- Julia
Published by oskarhs 9 months ago

autohist.jl - v0.1.0

- Julia
Published by oskarhs 9 months ago

autohist.jl - First official version

Full Changelog: https://github.com/oskarhs/AutoHist.jl/commits/v0.2.0-beta

- Julia
Published by oskarhs 10 months ago