1 unstable release
0.1.0 | Apr 2, 2020 |
---|
#71 in #data-science
19KB
262 lines
1R quantization implementation in Rust
Quantization takes numeric data and turns it into a discrete set of intervals.
For example, given labelled data such:
Value | Label |
---|---|
1 | true |
40 | true |
100 | false |
101 | false |
We might discover the intervals:
- less than 100 (true)
- 100 or more (false)
This is a reimplementation of the 1R quantization algorithm described in Holte (1993). It is a complement to https://crates.io/crates/oner_induction.
Documentation and examples
- API reference and usage
- An example application: https://github.com/d6y/oner
License
Copyright 2020 Richard Dallaway
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Dependencies
~2MB
~37K SLoC