-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-25867][ML] Remove KMeans computeCost #22875
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
|
Test build #98201 has finished for PR 22875 at commit
|
|
retest this please |
|
Test build #98210 has finished for PR 22875 at commit
|
|
Test build #98212 has finished for PR 22875 at commit
|
|
Test build #98680 has finished for PR 22875 at commit
|
|
Test build #98874 has finished for PR 22875 at commit
|
|
Test build #99048 has finished for PR 22875 at commit
|
|
retest this please |
srowen
left a comment
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.
Just grepping for computeCost -- do any examples need updating? I see some instances but they may be a different computeCost.
But what about BisectingKMeans too?
|
Yes, the problem is that there is also the |
|
How about BisecingKMeansModel? That's what I was looking at. That computeCost is also deprecated. |
|
Yes, it was deprecated in #22756 and it is deprecated since 3.0, so we cannot remove it... |
|
Ah OK I wasn't reading that carefully. |
|
Test build #99057 has finished for PR 22875 at commit
|
srowen
left a comment
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.
Apologies for the merge conflict now, but looks OK otherwise.
|
thanks for your review @srowen |
|
Test build #99109 has finished for PR 22875 at commit
|
|
retest this please |
|
Test build #99123 has finished for PR 22875 at commit
|
|
retest this please |
|
Test build #99133 has finished for PR 22875 at commit
|
srowen
left a comment
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.
OK by me; apologies for another rebase though. We're merging lots of changes that need MiMa exclusions and it keeps conflicting.
|
sure, thanks @srowen , no need to apologize at all, thanks for your help reviewing this. |
|
Test build #99174 has finished for PR 22875 at commit
|
|
Merged to master |
## What changes were proposed in this pull request? The PR removes the deprecated method `computeCost` of `KMeans`. ## How was this patch tested? NA Closes apache#22875 from mgaido91/SPARK-25867. Authored-by: Marco Gaido <marcogaido91@gmail.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
What changes were proposed in this pull request?
The PR removes the deprecated method
computeCostofKMeans.How was this patch tested?
NA