-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor SmartClusters and SourceClustersAdapter for improved cluster…
…ing logic - Updated `SmartClusters` to initialize with a temporary cluster and load its data, enhancing the initialization process. - Refactored `SourceClustersAdapter` to utilize the new `cluster_sources` utility for clustering, simplifying the clustering logic and improving adaptability. - Introduced a new utility function `cluster_sources` for optimized k-medoids clustering, including precomputed distance matrices for efficiency. - Added comprehensive unit tests for `cluster_sources` to validate clustering behavior across various scenarios, ensuring robustness. - Created a new script for evaluating cluster distribution performance, providing insights into clustering effectiveness. - Updated package.json to include new test configurations for better test management.
- Loading branch information
Brian Joseph Petro
committed
Dec 23, 2024
1 parent
bc49fe1
commit 5e60e16
Showing
6 changed files
with
1,045 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.