- Fix unexpected behavior of
splitByClass
method (fixes #37).
- Add 'nested means' method (and
NestedMeansClassifier
class).
- Fix missing
k
options when using theclassify
method ofMsdClassifier
(parameterk
was ignored / not transferred to the underlyingmsd
function).
- Don't round values if
precision
option is explicitly set tonull
(partially fixes #28).
- Add splitByClass to classifier methods (fixed #24)
- Fix head tail breaks when
minmax
option isfalse
(fixes #20). - Improve validation of the
nb
parameter (fixes #25).
- Add pretty breaks and arithmetic progression classification methods.
- Add object-oriented API.
- Throw error instead of returning
null
:- when the number of classes is greater than the number of values,
- when using a series with negative or zero values with geometric progression classification method,
- when using an unknown classification method name in
breaks
function.
- Remove dependency on d3-array, d3-scale, d3-selection and d3-shape.