-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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-9772] [PySpark] [ML] Add Python API for ml.feature.VectorSlicer #8102
Conversation
Test build #40446 timed out for PR 8102 at commit |
Jenkins, test this please. |
test this please |
Test build #40826 has finished for PR 8102 at commit
|
reviewing now |
... (Vectors.dense([-2.0, 2.3, 0.0, 0.0, 1.0]),), | ||
... (Vectors.dense([0.0, 0.0, 0.0, 0.0, 0.0]),), | ||
... (Vectors.dense([0.6, -1.1, -3.0, 4.5, 3.3]),)], ["features"]) | ||
>>> vs = VectorSlicer(inputCol="features", outputCol="expected", indices=[1, 4]) |
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.
Rename "expected" to "sliced" since this is an example
One more comment: need to add VectorSlicer to list |
Test build #41232 has finished for PR 8102 at commit
|
Test build #41230 timed out for PR 8102 at commit |
Jenkins, test this please. |
Test build #41298 has finished for PR 8102 at commit
|
Test build #42195 has finished for PR 8102 at commit
|
LGTM. Merging with master. Thank you! |
Add Python API for ml.feature.VectorSlicer.