Skip to content

[SPARK-25758][ML] Deprecate computeCost in BisectingKMeans - #22869

Closed
mgaido91 wants to merge 1 commit into
apache:masterfrom
mgaido91:SPARK-25758_3.0
Closed

[SPARK-25758][ML] Deprecate computeCost in BisectingKMeans#22869
mgaido91 wants to merge 1 commit into
apache:masterfrom
mgaido91:SPARK-25758_3.0

Conversation

@mgaido91

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

The PR proposes to deprecate the computeCost method on BisectingKMeans in favor of the adoption of ClusteringEvaluator in order to evaluate the clustering.

How was this patch tested?

NA

@mgaido91

Copy link
Copy Markdown
ContributorAuthor

Since #22756 was reverted because it was decided not to deprecate this in 2.4, but only in 3.0, this PR deprecates it for 3.0.

cc @cloud-fan@dongjoon-hyun@mengxr@srowen@WeichenXu123

@SparkQA

Copy link
Copy Markdown

Test build #98168 has finished for PR 22869 at commit ea5ccb8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyundongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM.

@mgaido91

Copy link
Copy Markdown
ContributorAuthor

any comments on this?

@cloud-fan

Copy link
Copy Markdown
Contributor

cc @dbtsai

@dbtsai

Copy link
Copy Markdown
Member

LGTM too. Merged into master. Thanks.

@asfgitasfgit closed this in fc10c89Nov 5, 2018
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
## What changes were proposed in this pull request?
The PR proposes to deprecate the `computeCost` method on `BisectingKMeans` in favor of the adoption of `ClusteringEvaluator` in order to evaluate the clustering.
## How was this patch tested?
NA
Closesapache#22869 from mgaido91/SPARK-25758_3.0.
Authored-by: Marco Gaido <marcogaido91@gmail.com>
Signed-off-by: DB Tsai <d_tsai@apple.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@mgaido91@SparkQA@cloud-fan@dbtsai@dongjoon-hyun