-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-8920] [MLlib] Add @since tags to mllib.linalg #7729
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
|
ok to test |
|
@MechCoder Could you help review this PR? Thanks! |
|
Test build #38755 has finished for PR 7729 at commit
|
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.
Are you sure that a sealed trait should be tagged?
|
@MechCoder Thanks for pointing that out. I agree that the tag might not be necessary for the sealed trait. Let me know if you come across anything else. |
|
Test build #39377 has finished for PR 7729 at commit
|
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.
It seems that these methods were added to the DenseMatrix object in 1.3.0 right?
|
Thanks for the PR. I'm also not sure if tags should be added for hashcode, equals etc since the user is not going to access these features through the documentation. |
|
@MechCoder thank you for the very detailed review! I have made most of the changes that you had pointed out except for the following:
In addition to the above:
Let me know if you spot something else. Thanks again. |
|
Test build #39634 has finished for PR 7729 at commit
|
Then could you make the tags availble for all the alternative constructors. eg. DenseMatrix |
|
@MechCoder I couldnt find the untagged alternate constructor in DenseMatrix. Can you point me to where you see it? |
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.
Here?
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.
ping
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.
Hi @MechCoder I sincerely apologize for my ignorance here! I am a little new to Scala and am not sure what I am missing here. I will be happy to fix it if you can provide some clarification. I have fixed the other errors that you identified below and will update the PR.
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.
Oh never mind, I could notice that from the diff view :( . Looks all right to me.
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.
:) Thanks!
|
That's it apart from those couple of comments. |
|
We don't need to add |
|
I am going to take a look at this and update the PR by tomorrow. |
|
test this please |
|
@MechCoder Could you make another pass? Thanks! |
|
I removed the tags from two of the toString method and confirmed left the tags in place for the alternate constructors as mechcoder mentioned. |
|
Test build #40905 has finished for PR 7729 at commit
|
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.
Should this be 1.2.0?
|
LGTM @mengxr |
|
Test build #41019 has finished for PR 7729 at commit
|
Author: Sameer Abhyankar <[email protected]> Author: Sameer Abhyankar <[email protected]> Closes #7729 from sabhyankar/branch_8920. (cherry picked from commit 088b11e) Signed-off-by: Xiangrui Meng <[email protected]>
|
Merged into master and branch-1.5. Thanks @sabhyankar for adding versions and @MechCoder for code review! |
No description provided.