-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-5962] [MLlib] Python support for Power Iteration Clustering #6992
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
|
Merged build triggered. |
|
Merged build started. |
|
Test build #35696 has started for PR 6992 at commit |
|
Test build #35696 has finished for PR 6992 at commit
|
|
Merged build finished. Test PASSed. |
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.
getAssignments is only called by Python. So the return type should be RDD[Array[Any]]. This might work:
def getAssignments: RDD[Array[Any]] = {
model.assignments.map(x => Array(x.id, x.cluster))
}|
Merged build triggered. |
|
Merged build started. |
|
Test build #35928 has started for PR 6992 at commit |
|
Test build #35928 has finished for PR 6992 at commit
|
|
Merged build finished. Test PASSed. |
|
LGTM. Merged into master. Thanks! |
|
@yanboliang Could you please make a JIRA and PR for updating the user guide with the Python API? Thanks! |
|
@jkbradley OK, I will do it. |
Python support for Power Iteration Clustering
https://issues.apache.org/jira/browse/SPARK-5962