MaxGekk commented on a change in pull request #20793:
[SPARK-23643][CORE][SQL][ML] Shrinking the buffer in hashSeed up to size of the
seed parameter
URL: https://github.com/apache/spark/pull/20793#discussion_r267973780
##########
File path: R/pkg/tests/fulltests/test_mllib_recommendation.R
##########
@@ -33,7 +33,7 @@ test_that("spark.als", {
test <- createDataFrame(list(list(0, 2), list(1, 0), list(2, 0)), c("user",
"item"))
predictions <- collect(predict(model, test))
- expect_equal(predictions$prediction, c(-0.1380762, 2.6258414, -1.5018409),
+ expect_equal(predictions$prediction, c(0.6929101, 3.4735692, -0.8991987),
Review comment:
Unfortunately it causes stack overflow:
```
ava.lang.StackOverflowError
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1230)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]