Commit 988ebf5
authored
Fix MG kmeans intertia_check n_iters (#2020)
We should only check the intertia_check convergence on n_iters > 1 (on the second iteration). Otherwise we don't have a previous iteration to compare against. The SG path is already like this.
MG n_iters > 0 (bug)
SG n_iters > 1
Authors:
- Anupam (https://github.com/aamijar)
Approvers:
- Tarang Jain (https://github.com/tarang-jain)
URL: #20201 parent c95625b commit 988ebf5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
741 | | - | |
| 741 | + | |
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
| |||
0 commit comments