Commit 1e4d227
Introduce an early stop threshold for Kmeans (#4894)
Summary:
Basically speaking, the feature allows kmeans iterations to stop once the improvement in an error becomes marginal.
Pull Request resolved: #4894
Reviewed By: limqiying
Differential Revision: D95987848
Pulled By: alibeklfc
fbshipit-source-id: 4422d08c9e04880cbef84093f0c4ae714dff254c1 parent c24598a commit 1e4d227
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
573 | 578 | | |
574 | 579 | | |
575 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| |||
0 commit comments