Skip to content
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

[SPARK-19827][R][FOLLOWUP] spark.ml R API for PIC #23292

Closed
wants to merge 2 commits into from

Conversation

srowen
Copy link
Member

@srowen srowen commented Dec 11, 2018

What changes were proposed in this pull request?

Follow up style fixes to PIC in R; see #23072

How was this patch tested?

Existing tests.

@srowen
Copy link
Member Author

srowen commented Dec 11, 2018

@huaxingao
Copy link
Contributor

@srowen Sorry for the problems and thanks for the PR. I am actually working on the follow up PR, but I wasn't fast enough.

@@ -621,38 +621,35 @@ setMethod("write.ml", signature(object = "LDAModel", path = "character"),
#'
#' A scalable graph clustering algorithm. Users can call \code{spark.assignClusters} to
#' return a cluster assignment for each input vertex.
#'
# Run the PIC algorithm and returns a cluster assignment for each input vertex.
Copy link
Contributor

Choose a reason for hiding this comment

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

sorry I missed the '. should be #'

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean line 624

#' \code{sequence: ArrayType(ArrayType(T))} (T is the item type)
#' \code{freq: Long}
#' \code{sequence: ArrayType(ArrayType(T))}, \code{freq: integer}
#' where T is the item type
Copy link
Contributor

Choose a reason for hiding this comment

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

I know there is a problem here too. But the one that needs to get fixed is in line 637 in R/pkg/R/mllib_clustering.R.
I guess I will have a separate follow up PR to fix the mllib_fpm.R problem. Sorry for the mess.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I wanted to fix both here while we're at it.

Copy link
Member

Choose a reason for hiding this comment

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

let's fix both

@SparkQA
Copy link

SparkQA commented Dec 11, 2018

Test build #99988 has finished for PR 23292 at commit a50e522.

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

@SparkQA
Copy link

SparkQA commented Dec 11, 2018

Test build #99990 has finished for PR 23292 at commit 65ea99e.

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

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

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

LGTM thx @srowen

#' \code{sequence: ArrayType(ArrayType(T))} (T is the item type)
#' \code{freq: Long}
#' \code{sequence: ArrayType(ArrayType(T))}, \code{freq: integer}
#' where T is the item type
Copy link
Member

Choose a reason for hiding this comment

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

let's fix both

@srowen
Copy link
Member Author

srowen commented Dec 12, 2018

Merged to master

@srowen srowen closed this in 79e36e2 Dec 12, 2018
@srowen srowen deleted the SPARK-19827.2 branch December 18, 2018 13:00
holdenk pushed a commit to holdenk/spark that referenced this pull request Jan 5, 2019
## What changes were proposed in this pull request?

Follow up style fixes to PIC in R; see apache#23072

## How was this patch tested?

Existing tests.

Closes apache#23292 from srowen/SPARK-19827.2.

Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
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?

Follow up style fixes to PIC in R; see apache#23072

## How was this patch tested?

Existing tests.

Closes apache#23292 from srowen/SPARK-19827.2.

Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants