Skip to content

Releases: mthh/jenkspy

v0.4.1

03 Jun 13:00
Compare
Choose a tag to compare
  • Introduce pyproject.toml to replace the old way of describing the project and specifying build dependencies, thanks to @filip-komarzyniec (#31).

v0.4.0

30 Nov 11:33
Compare
Choose a tag to compare
  • Add support for Python 3.12.

  • Don't track the C file generated by Cython anymore.

See also https://pypi.org/project/jenkspy/0.4.0/#files.

v0.3.3

03 Jul 11:28
Compare
Choose a tag to compare
  • Fix error when JenksNaturalBreaks is instanced with n_classes=1 and raise error if n_classes is not a positive integer (fix #28).

V0.3.2

10 Nov 10:05
Compare
Choose a tag to compare
  • Add type hints and fix some docstring about parameters and return types, thanks to Kim Hyeonseok / @plming (#27).

See also https://pypi.org/project/jenkspy/0.3.2/#files.

V0.3.1

23 Aug 20:30
Compare
Choose a tag to compare
  • Add missing requirements.txt file in MANIFEST.in and so in sdist package.

See also https://pypi.org/project/jenkspy/0.3.1/#files.

V0.3.0

23 Aug 09:15
Compare
Choose a tag to compare
  • 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 to n_classes (notably to be closer to sklearn n_clusters parameter).

See also https://pypi.org/project/jenkspy/0.3.0/#files.

V0.2.4

18 Aug 13:38
Compare
Choose a tag to compare
  • Update package metadata and docstrings.

See also https://pypi.org/project/jenkspy/0.2.4/#files.

V0.2.3

18 Aug 06:51
Compare
Choose a tag to compare
  • 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.

See also https://pypi.org/project/jenkspy/0.2.3/#files.

V0.2.2

12 Aug 16:56
Compare
Choose a tag to compare
  • Update docstring to fix return type of jenks_breaks (fix #26).

See also https://pypi.org/project/jenkspy/0.2.2/#files.

V0.2.1

12 Aug 07:38
Compare
Choose a tag to compare
  • 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)

See also https://pypi.org/project/jenkspy/0.2.1/#files.