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:
This is a reimplementation of the 1R quantization algorithm described in Holte (1993). It is a complement to https://crates.io/crates/oner_induction.
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/.