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-38139][PYTHON][ML][TESTS] Adjust tolerance in ml.recommendation.ALS doctest #35503

Closed
wants to merge 1 commit into from

Conversation

zero323
Copy link
Member

@zero323 zero323 commented Feb 13, 2022

What changes were proposed in this pull request?

This PR reduces precision of the result in pyspark.ml.recommendation.ALS doctest to four decimal digits.

Why are the changes needed?

In certain configurations, ALS consistently converges to value slightly below 0.69291, causing repeated test failures.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests, executed with configuration where this test normally fails.

@HyukjinKwon HyukjinKwon changed the title [SPARK-38139][PYTHON]{ML]{TESTS] Adjust tolerance in ml.recommendation.ALS doctest [SPARK-38139][PYTHON][ML][TESTS] Adjust tolerance in ml.recommendation.ALS doctest Feb 13, 2022
@HyukjinKwon
Copy link
Member

Merged to master.

@zero323 zero323 deleted the SPARK-38139 branch February 13, 2022 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants