Skip to content

Releases: JuliaStats/StatsBase.jl

v0.18.0

26 Jul 23:04
Compare
Choose a tag to compare
Updates for Julia 0.6 (#287)

v0.17.0: add params (#274)

30 Jun 17:46
Compare
Choose a tag to compare
* add params

* add params\!

* update docstrings

Version 0.16.1

28 Jun 15:04
Compare
Choose a tag to compare
  • Add trim and winsor (#267).
  • Port manual to Documenter.

v0.16.0: Add Base.similar, merge and merge! for Histogram (#270)

08 Jun 01:22
Compare
Choose a tag to compare
* Add Base.similar, merge and merge! for Histogram

* Use zero(h::Histogram) instead of similar(h::Histogram)

Suggested by @andreasnoack.

* Improve tests for zero and merge for Histogram

v0.15.0: Added `cor2cov` and `cov2cor` methods. (#261)

18 May 17:51
Compare
Choose a tag to compare
* Added `cor2cov` and `cov2cor` methods.

* Switched to accepting `AbstractMatrix` vs `DenseMatrix`.

* Added an in-place version of cor2cov and update the docs to mention the in-place versions.

* Added in-place specific tests.

v0.14.1: Fixes for type instabilities in histogram functions (#253)

04 May 00:52
Compare
Choose a tag to compare
* Add type stability tests for histogram functions

* Fix type instabilities in histogram functions

* Remove unused isdensity arguments from fit(::Histogram...)

isdensity arguments don't belong there in the first place.

* Add more elegant Julia v0.6 implementation in _nbins_tuple.

Suggested by @nalimilan.

v0.14.0: Add Base.norm, normalize and normalize! for Histogram (#243)

01 May 17:33
Compare
Choose a tag to compare
* Add Base.norm, normalize and normalize! for Histogram

* Add Base.float for Histogram and support for aux_weights on normalize

* Add tests for histogram norm and normalize

* Clarify description of histogram hormalization modes

* Add histogram normalization mode :none

* Better exceptions and small coding style improvements in hist norm code

Also removed some remnant code in hist norm tests.

* Add proper docstrings for histogram norm, normalize and normalize!

* Add tests for histogram normalize! and normalize with aux weights

* Add new field isdensity to Histogram, refactor histogram code

Enables consistent and idempotent behaviour of normalization, increases
histogram filling performance.

Changes:

* New Histogram field isdensity
* Support for isdensity in constructors, etc., includes refactoring
  of ctor code (removed duplicated code).
* Refactoring of histogram fill code:
    * Removed duplicated code
    * New functions binindex and binvolume
    * Significant performance gain for push!/append!
* Support for fit(Histogram{T}, ...)
* Better structure of histograms tests with test sets

* Remove _tuple_map from Histogram implementation

Better to add this to Base.

* Simplify implementation of _multi_getindex

* Fix float(h::Histogram)

* Handle h.isdensity
* Don't copy more than necessary (as requested by A. Noack)

* Change histogram norm to directly return integral value, not it's norm.

* Extend == and show for Histogram to handle new isdensity field

* Fix normalize! for Histogram

Don't set h.isdensity to true for mode == :none

* Improve numerical precision in implementation of Histogram norm/normalize

* Use _edge_binvolume in implementation of Histogram norm/normlalize

Also add optional result-type argument to binvolume

* Change implementation of float(::Histogram), remove _float_deepcopy

* Minor code pretty-up in push!(::Histogram)

v0.13.1

14 Feb 11:40
Compare
Choose a tag to compare
Fix 0.6 typealias depwarn (#237)

Prepare for Julia 0.6 and drop Julia 0.4 support

20 Jan 20:02
Compare
Choose a tag to compare
Merge pull request #230 from JuliaStats/anj/06

Adjust VERSION condition to avoid using release branch versions

v0.12.0

05 Jan 04:33
Compare
Choose a tag to compare
Merge pull request #176 from devmotion/weighted_sampling_no_replacement

Weighted sampling without replacement