You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#113
Improve the convergence system for the MiniBatch algorithm in `src/mini_batch.jl` and add corresponding tests in `test/test90_minibatch.jl`.
* **Adaptive Batch Size Mechanism**
- Implement an adaptive batch size mechanism that adjusts based on the convergence rate.
- Modify the batch size dynamically during the iterations.
* **Early Stopping Criteria**
- Introduce early stopping criteria by monitoring the change in cluster assignments and the stability of centroids.
- Add a check to stop the algorithm if the labels and centroids remain unchanged over iterations.
* **Tests for New Features**
- Add tests for the adaptive batch size mechanism to ensure it adjusts the batch size correctly based on the convergence rate.
- Add tests for early stopping criteria to ensure the algorithm stops when the change in cluster assignments or the stability of centroids is detected.
- Add tests for improved initialization of centroids to ensure the algorithm converges successfully.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/PyDataBlog/ParallelKMeans.jl/issues/113?shareId=XXXX-XXXX-XXXX-XXXX).
No description provided.
The text was updated successfully, but these errors were encountered: