-
Notifications
You must be signed in to change notification settings - Fork 13
Improve convergence system for MiniBatch algorithm #122
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
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).
Benchmark resultJudge resultBenchmark Report for /home/runner/work/ParallelKMeans.jl/ParallelKMeans.jlJob Properties
ResultsA ratio greater than
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfoTarget
Baseline
Target resultBenchmark Report for /home/runner/work/ParallelKMeans.jl/ParallelKMeans.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Baseline resultBenchmark Report for /home/runner/work/ParallelKMeans.jl/ParallelKMeans.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Runtime information
|
Fixes #113
Improve the convergence system for the MiniBatch algorithm in
src/mini_batch.jl
and add corresponding tests intest/test90_minibatch.jl
.Adaptive Batch Size Mechanism
Early Stopping Criteria
Tests for New Features
For more details, open the Copilot Workspace session.