-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-23643][CORE][SQL][ML] Shrinking the buffer in hashSeed up to size of the seed parameter #20793
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-23643][CORE][SQL][ML] Shrinking the buffer in hashSeed up to size of the seed parameter #20793
Changes from 44 commits
bb40ef2
177afcc
738a220
0d18fcd
c00b8b8
05ee808
970fe6c
f061151
a05df5c
ef42abe
efcc385
c2b4a95
438b014
51c2026
f14b038
97395fb
6640082
6567b8e
cad048a
5c9fc29
d3ba437
7d32804
bcda3a6
fd5f071
a5165b7
39aa618
f71a60d
661c382
db2443d
229a4e5
71fe2dc
e9eaa76
39aebd6
47151b1
5595b5e
0f3fb32
7318208
a9f5dd4
695ff15
25260c6
6e9d2c8
7de88ea
5d6a596
f5728ac
86892a4
efda70c
c758f57
53faaef
471841c
0622e96
3754ede
5774ad6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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), | ||
|
||
| tolerance = 1e-4) | ||
|
|
||
| # Test model save/load | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised how much this changed; maybe not enough iterations to really make it stable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maxIteris already set 100. I could try to bump it up to 200.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the values are significantly different because I changed seed. I will revert it back