Skip to content

Commit

Permalink
Added a comment on the value bound for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jun 4, 2014
1 parent e367527 commit f154ea0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ class PairRDDFunctionsSuite extends FunSuite with SharedSparkContext {
*/
val p = 20
val sp = 0
// When p = 20, the relative accuracy is about 0.001. So with high probability, the
// relative error should be smaller than the threshold 0.005 we use here.
val relativeSD = 0.01

// For each value i, there are i tuples with first element equal to i.
Expand Down

0 comments on commit f154ea0

Please sign in to comment.