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-50936][ML][PYTHON][CONNECT] Support HashingTF, IDF and FeatureHasher on connect #49651

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Support HashingTF, IDF and FeatureHasher on connect

Why are the changes needed?

For feature parity

Does this PR introduce any user-facing change?

yes

How was this patch tested?

updated tests

Was this patch authored or co-authored using generative AI tooling?

no


model = idf.fit(dataset, {idf.outputCol: "idf"})
# self.assertEqual(
# model.uid, idf.uid, "Model should inherit the UID from its parent estimator."
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wbo4958 @grundprinzip
should we revisit #49569 to pass the UID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant