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-38643][ML] Validate input dataset of ml.regression #35958

Conversation

zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

validate the input dataset, and fail fast when containing invalid values

Why are the changes needed?

to avoid retruning a bad model silently

Does this PR introduce any user-facing change?

No

How was this patch tested?

added testsuites

@github-actions github-actions bot added the ML label Mar 24, 2022
@zhengruifeng zhengruifeng force-pushed the regression_validate_training_dataset branch from 5be2bbd to a9bfcbf Compare March 24, 2022 11:01
@zhengruifeng
Copy link
Contributor Author

friendly ping @srowen @huaxingao

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

This is just a similar change for the RDD API? OK.

@huaxingao huaxingao closed this in 6d3149a Mar 25, 2022
@huaxingao
Copy link
Contributor

Merged to master. Thanks!

@zhengruifeng zhengruifeng deleted the regression_validate_training_dataset branch March 25, 2022 06:50
@zhengruifeng
Copy link
Contributor Author

Thanks all!

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