pyribs 0.9.0
To learn about this release, see our page on What's New in v0.9.0:
https://docs.pyribs.org/en/stable/whats-new.html
Changelog
API
- Add
replaceparameter to sample_elites in archives (#682) - Require numpy to be at least 2.0.0 (#681)
- Allow specifying
centroidswith filenames in CVTArchive (#679) - Add
kdtree_query_kwargsparameter to CVTArchive (#677) - Backwards-incompatible: Replace
ckdtree_kwargswithkdtree_kwargsin
CVTArchive and ProximityArchive (#676) - Add
sklearn_nnas an option fornearest_neighborsin CVTArchive
(#675) - Backwards-incompatible: Replace
use_kd_treewithnearest_neighborsin
CVTArchive (#674) - Drop Python 3.9 support and add 3.14 support (#672)
- Separate centroid generation from init in CVTArchive (#663)
- Backwards-incompatible: Replace the
cellsandcustom_centroids
parameters with a newcentroidsparameter in CVTArchive - Backwards-incompatible: Remove the
samplesproperty from CVTArchive - Backwards-incompatible: Remove
plot_samplesfromcvt_archive_heatmap
andcvt_archive_3d_plot
- Backwards-incompatible: Replace the
- Add
k_means_centroidsfunction (#665) - Backwards-incompatible: Remove
centroid_methodfromCVTArchive
(#662) - Support multi-dimensional solutions in GaussianEmitter and IsoLineEmitter
(#650) - Allow specifying emitter bounds with
lower_boundsandupper_bounds
(#649, #657) - Backwards-incompatible: Deprecate dict
dtypein archives and instead use
solution_dtype,objective_dtype, andmeasures_dtype(#639,
#643, #661) - Raise
KeyErrorinArchiveDataFrame.get_fieldwhen field not found
(#626) - Support array backends in ArrayStore via Python array API Standard
(#570, #645) - Backwards-incompatible: Remove raw_dict methods from ArrayStore
(#575)
Improvements
- Use dtypes when calling asarray in archive methods (#673)
- Replace cKDTree usage with KDTree (#669)
- Support ProximityArchive in parallel_axes_plot (#647)
- Cast dtype when validating arguments (#646)
- Add type annotations and use ty for type checking (#624)
- Migrate from pylint to ruff for linting (#605, #607, #612,
#619, #666) - Replace isort with ruff import check (#603)