-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-7946] [MLlib] DecayFactor wrongly set in StreamingKMeans #6497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@mengxr can you please verify? |
|
Looks like a good catch. |
|
Test build #33734 has finished for PR 6497 at commit
|
|
I added a NRT. (Non Regression Test) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's simplify the test.
val kMeans = new StrreamingKMeans()
assert(kMeans.decayFactor === 1.0)
kMeans.setDecayFactor(2.0)
assert(kMeans.decayFactor === 2.0)It is also useful to include the JIRA number in the test name, in case people wonder why we have this particular test.
|
Nice catch! |
|
Test build #33739 has finished for PR 6497 at commit
|
|
LGTM |
|
Test build #33747 has finished for PR 6497 at commit
|
|
Test build #33746 has finished for PR 6497 at commit
|
Author: MechCoder <[email protected]> Closes #6497 from MechCoder/spark-7946 and squashes the following commits: 2fdd0a3 [MechCoder] Add non-regression test 8c988c6 [MechCoder] [SPARK-7946] DecayFactor wrongly set in StreamingKMeans (cherry picked from commit 6181937) Signed-off-by: Xiangrui Meng <[email protected]>
Author: MechCoder <[email protected]> Closes #6497 from MechCoder/spark-7946 and squashes the following commits: 2fdd0a3 [MechCoder] Add non-regression test 8c988c6 [MechCoder] [SPARK-7946] DecayFactor wrongly set in StreamingKMeans (cherry picked from commit 6181937) Signed-off-by: Xiangrui Meng <[email protected]>
Author: MechCoder <[email protected]> Closes #6497 from MechCoder/spark-7946 and squashes the following commits: 2fdd0a3 [MechCoder] Add non-regression test 8c988c6 [MechCoder] [SPARK-7946] DecayFactor wrongly set in StreamingKMeans (cherry picked from commit 6181937) Signed-off-by: Xiangrui Meng <[email protected]>
|
Merged into master, branch-1.4, 1.3, and 1.2. Thanks! The R test failure is orthogonal to this PR. Ping @shivaram . |
|
Hmm weird - The error logs have no information on what failed in this case. I'm guessing it was a transient problem, but let me know if you run into this again. |
Author: MechCoder <[email protected]> Closes apache#6497 from MechCoder/spark-7946 and squashes the following commits: 2fdd0a3 [MechCoder] Add non-regression test 8c988c6 [MechCoder] [SPARK-7946] DecayFactor wrongly set in StreamingKMeans
Author: MechCoder <[email protected]> Closes apache#6497 from MechCoder/spark-7946 and squashes the following commits: 2fdd0a3 [MechCoder] Add non-regression test 8c988c6 [MechCoder] [SPARK-7946] DecayFactor wrongly set in StreamingKMeans
No description provided.