Releases: mthh/jenkspy
v0.4.1
v0.4.0
-
Add support for Python 3.12.
-
Don't track the C file generated by Cython anymore.
v0.3.3
V0.3.2
V0.3.1
- Add missing
requirements.txt
file inMANIFEST.in
and so insdist
package.
V0.3.0
-
Add NumPy as a mandatory dependency.
-
Only compute matrices in C code and move sorting the values, casting to double, and computing the actual breaks to Python/Cython code for better maintainability.
-
Improve performance by using 1D arrays instead of 2D arrays in
JenksBreakValues
C function. -
Preserve the precision of the original list/array of values in the returned breaks.
-
Fix bug when requesting a number of class equal to the number of values.
-
Raise an exception when the number of classes is greater than the number of unique values (however this might change in the future by choosing to return a list of breaks shorter than the one requested by the user).
-
Rename
nb_class
parameter ton_classes
(notably to be closer to sklearnn_clusters
parameter).
V0.2.4
- Update package metadata and docstrings.
V0.2.3
- Check size of integer values given to jenks_breaks function to avoid Segfault when casting to C double (fixes #23).
- Raise an error (instead of printing a warning) when target array contains non-finite values (fixes #23).
- Raise an error when the target numpy.ndarray is not one-dimensional (fixes #25).
- Improve implementation of JenksBreakValues C function by using better variable naming and by simplifying the construction of the 'breaks' array (should, at least partly, fix #22).
- Add docstrings to JenksNaturalBreaks methods.
V0.2.2
V0.2.1
-
Add a method to the
JenksNaturalBreaks
class that calculates the Goodness of Fit Variance thanks to Maurício Gomes / @mgomesq (#17). -
Add optional download numpy using
[interface]
thanks to Muhammad Yasirroni / @yasirroni (#16). -
Replace Travis / AppVeyor by GitHub Actions to build wheels for currently supported python versions on Windows / MacOs / Linux (according to https://devguide.python.org/versions/#supported-versions)