Changelog¶
All notable changes to this project will be documented in this file.
The format is inspired by Keep a Changelog, and Element and this project adheres to Semantic Versioning.
Unreleased¶
Added Features and Improvements 🙌:¶
- Added trogon terminal user interface for easier usage of CI
Other changes:¶
- Fixed minor issues in docs
0.4.1 - 2023-04-04¶
API changes warning ⚠️:¶
- Removed the
grid_bkeyword from all plot examples to support a broader range of matplotlib versions. - Removed
prettypyplotdependency - Added
matplotlibdependency
Added Features and Improvements 🙌:¶
- Now checking whether all features have a non-zero and finite standard deviation
0.4.0 - 2023-03-28¶
API changes warning ⚠️:¶
- Class
UMAPSimilaritywas removed
Added Features and Improvements 🙌:¶
- Added py3.11 support
- All new MkDocs, including tutorials 🎉
Other changes:¶
- Fixed CI's
0.3.2 - 2022-09-21¶
Other changes:¶
- Update reference and add
CITATION.cff
Bugfix 🐛:¶
- Fixing
AssertionErrorwhen Similarity matrix is not in range [0, 1], see #9 - Add support for
numpy>=1.23.0, #13 - Fix support for
prettypyplot<0.8.x, #11
0.3.1 - 2022-08-04¶
Bugfix 🐛:¶
- Fixing floating-point error for
np.float16, np.float32inSimilarity().fit(), see #9
Other changes:¶
- Use deprecated decorator for
UMAPSimilarity - Refactor all type definitions
- Ensure using the same MODES, METRICS, and NORMS in the cli and the package itself
0.3.0 - 2022-07-22¶
API changes warning ⚠️:¶
- Module
toolswas renamed toutils load_clustersneeds to be accessed viamosaic.utils- Change the default precision from
halftosinglein CI (__main__.py) - Rename in
Similarityclass the parameteronlinetolow_memoryand inmosaic similaritythe flag--onlineto--low-memory - Rename in
Similarityclass the parameterknn_estimatortouse_knn_estimator Similarity.fitandClustering.fitare returningselfwhich allows a chaining likesim = Similarity().fit(X)
Added Features and Improvements 🙌:¶
GridSearchCVclass was added, allowing for easy silhouette-CV basedr parameter searchSimilarityclass derives now fromsklearn.base.BaseEstimatorClusteringclass derives now fromsklearn.base.BaseEstimatorandsklearn.base.BaseMixinfit_transformandtransformmethod were added toSimilarityclassfit_predictmethod was added toClusteringclassscoremethod (for silhouette score) was added toClusteringclass- Added LGTM reports
- Allow to select the desired precision in the CI directly
- Improved clusters sorting algorithm to prefer larger clusters
mode='kmedoids'was added to CI
Bugfix 🐛:¶
- Fix bug of
load_clustersin case of a single cluster - Fix bug where
mode='kmedoids'can not be executed withn_clusters - Fix bug for
mode='kmedoids', preventing masking diagonal - Prevent interpolation in plot
- Enforce higher precision on storing correlation matrix to remove artifacts of slight deviation from symmetry
Other changes:¶
- Improved test functions of utils module
- Add more tests for clustering module
- Fixed some typos
- Improved README
0.2.2 - 2022-04-25¶
Added Features and Improvements 🙌:¶
- Officially support python 3.10
Other changes:¶
- Adding many helpful links to PyPI
- Remove dark-mode-only image from PyPI readme
- Add code coverage report via Codecov
0.2.1 - 2022-04-07¶
API changes warning ⚠️:¶
- Removed
n_iterationsparameter fromClustering
Added Features and Improvements 🙌:¶
- Added clustering mode
mode='kmedoids'for k-medoids clustering - Added tools module to reopen clusters
Other changes:¶
- Improved some test functions
0.2.0 - 2022-04-01¶
API changes warning ⚠️:¶
- Renamed cli script
mosaic, formerMoSAIC - Renamed package to
mosaic-clustering - Renamed repository!!!
Added Features and Improvements 🙌:¶
- Added MoSAIC logo
- Added changelog
- Unified extra requirements of module, use
[all], [umap], [docs], [testing]with pip - Add toy matrix of paper and script to generate similar matrices
- Improve html of docs
- Improve README
Bugfix 🐛:¶
- Fix path of CLI script
- Fix coverage run
- Fix PEP 585 warnings by importing
typingclasses frombeartype.typing - Reset
Clustering.labels_on callingCLustering.fit(...) - Allow also numpy types, e.g.,
np.float64, ornp.int64for resolution parameter
Other changes:¶
- Increase required beartype version
0.8.1->0.10.4 - Rename
DistanceMatrixtoSimilarityMatrix - Fix example in
Clusteringto satisfy typing requirements - Change import in
_typing.pyto non-private - Improve some typings
- Require
typing_extensionsonly for python < 3.9
0.1.1 - 2022-01-24¶
Added Features and Improvements 🙌:¶
- Add
labels_attribute toClustering
Bugfix 🐛:¶
- Use
metric='precomputed'for UMAP - Relax check of symmetric input by using
np.allclose() - Fix test expectation values
Other changes:¶
- Catch warnings for umap
0.1.0 - 2021-12-09¶
- Initial release