Skip to content

Commit 6722934

Browse files
0.2.0 release (#36)
* Use v0.8.0 for itertools * Update version number * Add release notes * Nitpicks - we now have a solid amount of routines implemented * Add links * Update version in Cargo.toml example * Add summary statistics to brief menu * Add some info directly in the README * Add ndarray link * Drop ErrorKind * Add a note on extension traits on the changelog * Rearrange 0.2.0 changes
1 parent eb589ab commit 6722934

File tree

3 files changed

+47
-9
lines changed

3 files changed

+47
-9
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ndarray-stats"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Jim Turner <[email protected]>", "LukeMathWalker <[email protected]>"]
55
edition = "2018"
66

@@ -21,7 +21,7 @@ noisy_float = "0.1.8"
2121
num-integer = "0.1"
2222
num-traits = "0.2"
2323
rand = "0.6"
24-
itertools = { version = "0.7.0", default-features = false }
24+
itertools = { version = "0.8.0", default-features = false }
2525
indexmap = "1.0"
2626

2727
[dev-dependencies]

README.md

+42-6
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,60 @@
66
[![Crate](https://img.shields.io/crates/v/ndarray-stats.svg)](https://crates.io/crates/ndarray-stats)
77
[![Documentation](https://docs.rs/ndarray-stats/badge.svg)](https://docs.rs/ndarray-stats)
88

9-
This crate provides statistical methods for [`ndarray`]'s `ArrayBase` type. See
10-
the [documentation](https://docs.rs/ndarray-stats) for more information.
9+
This crate provides statistical methods for [`ndarray`]'s `ArrayBase` type.
1110

12-
[`ndarray`]: https://github.com/bluss/ndarray
11+
Currently available routines include:
12+
- order statistics (minimum, maximum, median, quantiles, etc.);
13+
- summary statistics (mean, skewness, kurtosis, central moments, etc.)
14+
- partitioning;
15+
- correlation analysis (covariance, pearson correlation);
16+
- measures from information theory (entropy, KL divergence, etc.);
17+
- histogram computation.
1318

14-
Only some statistical routines are implemented. Please feel free to contribute
15-
new functionality!
19+
See the [documentation](https://docs.rs/ndarray-stats) for more information.
20+
21+
Please feel free to contribute new functionality! A roadmap can be found [here](https://github.com/jturner314/ndarray-stats/issues/1).
22+
23+
[`ndarray`]: https://github.com/rust-ndarray/ndarray
1624

1725
## Using with Cargo
1826

1927
```toml
2028
[dependencies]
2129
ndarray = "0.12.1"
22-
ndarray-stats = "0.1"
30+
ndarray-stats = "0.2"
2331
```
2432

2533
## Releases
2634

35+
* **0.2.0**
36+
37+
* New functionality:
38+
* Summary statistics:
39+
* Harmonic mean
40+
* Geometric mean
41+
* Central moments
42+
* Kurtosis
43+
* Skewness
44+
* Information theory:
45+
* Entropy
46+
* Cross-entropy
47+
* Kullback-Leibler divergence
48+
* Quantiles and order statistics:
49+
* `argmin` / `argmin_skipnan`
50+
* `argmax` / `argmax_skipnan`
51+
* Optimized bulk quantile computation (`quantiles_mut`, `quantiles_axis_mut`)
52+
* Fixes:
53+
* Reduced occurrences of overflow for `interpolate::midpoint`
54+
* Improvements / breaking changes:
55+
* Redesigned error handling across the whole crate, standardising on `Result`
56+
* All `ndarray-stats`' extension traits are now impossible to implement by
57+
users of the library (see [#34])
58+
59+
*Contributors*: [@jturner314](https://github.com/jturner314), [@LukeMathWalker](https://github.com/LukeMathWalker), [@phungleson](https://github.com/phungleson), [@munckymagik](https://github.com/munckymagik)
60+
61+
[#34]: https://github.com/jturner314/ndarray-stats/issues/34
62+
2763
* **0.1.0**
2864

2965
* Initial release by @LukeMathWalker and @jturner314.

src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
//! the *n*-dimensional array data structure provided by [`ndarray`].
33
//!
44
//! Currently available routines include:
5-
//! - [order statistics] (minimum, maximum, quantiles, etc.);
5+
//! - [order statistics] (minimum, maximum, median, quantiles, etc.);
6+
//! - [summary statistics] (mean, skewness, kurtosis, central moments, etc.)
67
//! - [partitioning];
78
//! - [correlation analysis] (covariance, pearson correlation);
89
//! - [measures from information theory] (entropy, KL divergence, etc.);
@@ -18,6 +19,7 @@
1819
//! [`ndarray`]: https://github.com/rust-ndarray/ndarray
1920
//! [order statistics]: trait.QuantileExt.html
2021
//! [partitioning]: trait.Sort1dExt.html
22+
//! [summary statistics]: trait.SummaryStatisticsExt.html
2123
//! [correlation analysis]: trait.CorrelationExt.html
2224
//! [measures from information theory]: trait.EntropyExt.html
2325
//! [histogram computation]: histogram/index.html

0 commit comments

Comments
 (0)