Jenkspy

Latest version: v0.4.0

Safety actively analyzes 621854 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.0

------------------

- Add support for Python 3.12.

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

0.3.3

------------------

- Fix error when JenksNaturalBreaks is instanced with n_classes=1 and raise error if n_classes is not a positive integer (fix 28).

0.3.2

------------------

- Add type hints and fix some docstring about parameters and return types, thanks to Kim Hyeonseok / plming (27).

0.3.1

------------------

- Add missing requirements.txt file in MANIFEST.in and in sdist package.

0.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 to ``n_classes`` (notably to be closer to sklearn ``n_clusters`` parameter).

0.2.4

------------------

- Update package metadata and docstrings.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.