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_b
keyword from all plot examples to support a broader range of matplotlib versions. - Removed
prettypyplot
dependency - Added
matplotlib
dependency
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
UMAPSimilarity
was 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
AssertionError
when 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.float32
inSimilarity().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
tools
was renamed toutils
load_clusters
needs to be accessed viamosaic.utils
- Change the default precision from
half
tosingle
in CI (__main__.py
) - Rename in
Similarity
class the parameteronline
tolow_memory
and inmosaic similarity
the flag--online
to--low-memory
- Rename in
Similarity
class the parameterknn_estimator
touse_knn_estimator
Similarity.fit
andClustering.fit
are returningself
which allows a chaining likesim = Similarity().fit(X)
Added Features and Improvements 🙌:¶
GridSearchCV
class was added, allowing for easy silhouette-CV basedr parameter searchSimilarity
class derives now fromsklearn.base.BaseEstimator
Clustering
class derives now fromsklearn.base.BaseEstimator
andsklearn.base.BaseMixin
fit_transform
andtransform
method were added toSimilarity
classfit_predict
method was added toClustering
classscore
method (for silhouette score) was added toClustering
class- 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_clusters
in 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_iterations
parameter 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
typing
classes frombeartype.typing
- Reset
Clustering.labels_
on callingCLustering.fit(...)
- Allow also numpy types, e.g.,
np.float64
, ornp.int64
for resolution parameter
Other changes:¶
- Increase required beartype version
0.8.1->0.10.4
- Rename
DistanceMatrix
toSimilarityMatrix
- Fix example in
Clustering
to satisfy typing requirements - Change import in
_typing.py
to non-private - Improve some typings
- Require
typing_extensions
only 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