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).
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 type hints and fix some docstring about parameters and return types, thanks to Kim Hyeonseok / @plming (#27).
0.3.1 (2022-08-23)
Add missing requirements.txt file in MANIFEST.in and in sdist package.
0.3.0 (2022-08-23)
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 (2022-08-18)
Update package metadata and docstrings.
0.2.3 (2022-08-18)
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 partly fix #22).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps jenkspy from 0.1.5 to 0.3.2.
Release notes
Sourced from jenkspy's releases.
... (truncated)
Changelog
Sourced from jenkspy's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)