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-43516][ML][FOLLOW-UP] Drop vector type support in Distributed ML for spark connect #41420

Closed

Conversation

WeichenXu123
Copy link
Contributor

What changes were proposed in this pull request?

Drop vector type support in Distributed ML for spark connect.

Why are the changes needed?

Distributed ML is designed for supporting fitting / transforming over either spark dataframe or local pandas dataframe.
Currently pandas dataframe does not have vector type similar to spark.ml.linalg.Vector, and Vector type does not have too much advantages except saving sparse features dataset.

To make the interface consistent, we decided initial version does not support vector type.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

UT.

Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
czxm pushed a commit to czxm/spark that referenced this pull request Jun 12, 2023
…ML for spark connect

### What changes were proposed in this pull request?

Drop vector type support in Distributed ML for spark connect.

### Why are the changes needed?

Distributed ML is designed for supporting fitting / transforming over either spark dataframe or local pandas dataframe.
Currently pandas dataframe does not have vector type similar to `spark.ml.linalg.Vector`, and Vector type does not have too much advantages except saving sparse features dataset.

To make the interface consistent, we decided initial version does not support vector type.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

UT.

Closes apache#41420 from WeichenXu123/mlv2-drop-vector-type-support.

Authored-by: Weichen Xu <weichen.xu@databricks.com>
Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants