Improve convergence system for MiniBatch algorithm#122
Improve convergence system for MiniBatch algorithm#122PyDataBlog wants to merge 1 commit intomasterfrom
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 versioninfoTargetBaselineTarget 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 versioninfoBaseline 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 versioninfoRuntime information
|
Fixes #113
Improve the convergence system for the MiniBatch algorithm in
src/mini_batch.jland 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.