classify

Crates.ioclassify
lib.rsclassify
version0.2.2
sourcesrc
created_at2022-08-01 20:05:17.315602
updated_at2022-08-18 21:14:27.452294
descriptionA collection of algorithms for categorizing 1D data
homepage
repositoryhttps://github.com/Nik4002/classify.git
max_upload_size
id637039
size48,736
(Nik4002)

documentation

README

classify

This Rust crate aims to provide easy-to-use functions and structs that can classify data through a variety of algorithms, including Jenks Natural Breaks, Quantile Breaks, and more.

Implemented as of version 0.2.2:

  • Classification methods: Jenks, Quantile, Head-Tail, Equal Interval, Standard Deviation, Hinge
  • Structs/types: Bin and Classification (type synonym for Vec<Bin>)
  • Function to determine the bin in a Classification to which a particular data point belongs
  • Compatibility with any numeric data type (previously only f64)
  • Compatibility with any collection data type (previously only vector)
  • Changelog
  • WebAssembly (WASM) package + basic HTML file to test WASM code
  • Other miscellaneous functionality

Planned future features:

  • None

WebAssembly

To generate the WASM package, run

wasm-pack build --release -- -features js

in the root directory of this crate

Commit count: 90

cargo fmt