{"id":13995318,"url":"https://github.com/rust-ndarray/ndarray-stats","last_synced_at":"2025-12-29T20:23:17.986Z","repository":{"id":39636393,"uuid":"147287005","full_name":"rust-ndarray/ndarray-stats","owner":"rust-ndarray","description":"Statistical routines for ndarray","archived":false,"fork":false,"pushed_at":"2024-08-24T19:04:58.000Z","size":224,"stargazers_count":210,"open_issues_count":26,"forks_count":28,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-15T23:03:20.943Z","etag":null,"topics":["rust","rust-ndarray","rust-sci","scientific-computing","statistics"],"latest_commit_sha":null,"homepage":"https://docs.rs/ndarray-stats","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-ndarray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-04T04:11:32.000Z","updated_at":"2025-05-12T18:40:41.000Z","dependencies_parsed_at":"2023-12-17T00:30:40.534Z","dependency_job_id":"5c47053d-05c3-4a59-a104-159029ee6e58","html_url":"https://github.com/rust-ndarray/ndarray-stats","commit_stats":{"total_commits":109,"total_committers":14,"mean_commits":7.785714285714286,"dds":0.5412844036697247,"last_synced_commit":"f830c9ec42dd8d9f47ed7b02f27e22eba260f7ba"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-ndarray%2Fndarray-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-ndarray%2Fndarray-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-ndarray%2Fndarray-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-ndarray%2Fndarray-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-ndarray","download_url":"https://codeload.github.com/rust-ndarray/ndarray-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436944,"owners_count":22070946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rust-ndarray","rust-sci","scientific-computing","statistics"],"created_at":"2024-08-09T14:03:20.853Z","updated_at":"2025-12-29T20:23:17.981Z","avatar_url":"https://github.com/rust-ndarray.png","language":"Rust","funding_links":[],"categories":["Rust","Data Science"],"sub_categories":["Numerical \u0026 Scientific Computing"],"readme":"# ndarray-stats\n\n[![Coverage](https://codecov.io/gh/rust-ndarray/ndarray-stats/branch/master/graph/badge.svg)](https://codecov.io/gh/rust-ndarray/ndarray-stats)\n[![Dependencies status](https://deps.rs/repo/github/rust-ndarray/ndarray-stats/status.svg)](https://deps.rs/repo/github/rust-ndarray/ndarray-stats)\n[![Crate](https://img.shields.io/crates/v/ndarray-stats.svg)](https://crates.io/crates/ndarray-stats)\n[![Documentation](https://docs.rs/ndarray-stats/badge.svg)](https://docs.rs/ndarray-stats)\n\nThis crate provides statistical methods for [`ndarray`]'s `ArrayRef` type.\n\nCurrently available routines include:\n- order statistics (minimum, maximum, median, quantiles, etc.);\n- summary statistics (mean, skewness, kurtosis, central moments, etc.)\n- partitioning;\n- correlation analysis (covariance, pearson correlation);\n- measures from information theory (entropy, KL divergence, etc.);\n- deviation functions (distances, counts, errors, etc.);\n- histogram computation.\n\nSee the [documentation](https://docs.rs/ndarray-stats) for more information.\n\nPlease feel free to contribute new functionality! A roadmap can be found [here](https://github.com/rust-ndarray/ndarray-stats/issues/1).\n\n[`ndarray`]: https://github.com/rust-ndarray/ndarray\n\n## Using with Cargo\n\n```toml\n[dependencies]\nndarray = \"0.17.1\"\nndarray-stats = \"0.7.0\"\n```\n\n## Releases\n\n* **0.7.0**\n\n  * Breaking changes\n    * Minimum supported Rust version: `1.65.0`\n    * Updated to `ndarray:v0.17.1`\n\n* **0.6.0**\n\n  * Breaking changes\n    * Minimum supported Rust version: `1.64.0`\n    * Updated to `ndarray:v0.16.0`\n    * Updated to `approx:v0.5.0`\n\n  * Updated to `ndarray-rand:v0.15.0`\n  * Updated to `indexmap:v2.4`\n  * Updated to `itertools:v0.13`\n\n  *Contributors*: [@bluss](https://github.com/bluss)\n\n* **0.5.1**\n  * Fixed bug in implementation of `MaybeNaN::remove_nan_mut` for `f32` and\n    `f64` for views with non-standard layouts. Before this fix, the bug could\n    cause incorrect results, buffer overflows, etc., in this method and others\n    which use it. Thanks to [@JacekCzupyt](https://github.com/JacekCzupyt) for\n    reporting the issue (#89).\n  * Minor docs improvements.\n\n  *Contributors*: [@jturner314](https://github.com/jturner314), [@BenMoon](https://github.com/BenMoon)\n\n* **0.5.0**\n  * Breaking changes\n    * Minimum supported Rust version: `1.49.0`\n    * Updated to `ndarray:v0.15.0`\n\n  *Contributors*: [@Armavica](https://github.com/armavica), [@cassiersg](https://github.com/cassiersg)\n\n* **0.4.0**\n  * Breaking changes\n    * Minimum supported Rust version: `1.42.0`\n  * New functionality:\n    * Summary statistics:\n      * Weighted variance\n      * Weighted standard deviation\n  * Improvements / breaking changes:\n    * Documentation improvements for Histograms\n    * Updated to `ndarray:v0.14.0`\n \n  *Contributors*: [@munckymagik](https://github.com/munckymagik), [@nilgoyette](https://github.com/nilgoyette), [@LukeMathWalker](https://github.com/LukeMathWalker), [@lebensterben](https://github.com/lebensterben), [@xd009642](https://github.com/xd009642)\n\n* **0.3.0**\n\n  * Breaking changes\n    * Minimum supported Rust version: `1.37`\n  * New functionality:\n    * Deviation functions:\n      * Counts equal/unequal\n      * `l1`, `l2`, `linf` distances\n      * (Root) mean squared error\n      * Peak signal-to-noise ratio\n    * Summary statistics:\n      * Weighted sum\n      * Weighted mean\n  * Improvements / breaking changes:\n    * Updated to `ndarray:v0.13.0`\n  \n  *Contributors*: [@munckymagik](https://github.com/munckymagik), [@nilgoyette](https://github.com/nilgoyette), [@jturner314](https://github.com/jturner314), [@LukeMathWalker](https://github.com/LukeMathWalker)\n\n* **0.2.0**\n\n  * Breaking changes\n    * All `ndarray-stats`' extension traits are now impossible to implement by\n      users of the library (see [#34])\n    * Redesigned error handling across the whole crate, standardising on `Result`\n  * New functionality:\n    * Summary statistics:\n      * Harmonic mean\n      * Geometric mean\n      * Central moments\n      * Kurtosis\n      * Skewness\n    * Information theory:\n      * Entropy\n      * Cross-entropy\n      * Kullback-Leibler divergence\n    * Quantiles and order statistics:\n      * `argmin` / `argmin_skipnan`\n      * `argmax` / `argmax_skipnan`\n      * Optimized bulk quantile computation (`quantiles_mut`, `quantiles_axis_mut`)\n  * Fixes:\n    * Reduced occurrences of overflow for `interpolate::midpoint`\n\n  *Contributors*: [@jturner314](https://github.com/jturner314), [@LukeMathWalker](https://github.com/LukeMathWalker), [@phungleson](https://github.com/phungleson), [@munckymagik](https://github.com/munckymagik)\n\n  [#34]: https://github.com/rust-ndarray/ndarray-stats/issues/34\n\n* **0.1.0**\n\n  * Initial release by @LukeMathWalker and @jturner314.\n\n## Contributing\n\nPlease feel free to create issues and submit PRs.\n\n## License\n\nCopyright 2018–2024 `ndarray-stats` developers\n\nLicensed under the [Apache License, Version 2.0](LICENSE-APACHE), or the [MIT\nlicense](LICENSE-MIT), at your option. You may not use this project except in\ncompliance with those terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-ndarray%2Fndarray-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-ndarray%2Fndarray-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-ndarray%2Fndarray-stats/lists"}