Skip to content

Conversation

@MLnick
Copy link
Contributor

@MLnick MLnick commented May 4, 2017

Existing test cases for recommendForAllX methods (added in SPARK-19535) test k < num items and k = num items. Technically we should also test that k > num items returns the same results as k = num items.

How was this patch tested?

Updated existing unit tests.

@SparkQA
Copy link

SparkQA commented May 4, 2017

Test build #76450 has finished for PR 17860 at commit 21c0ac5.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@MLnick
Copy link
Contributor Author

MLnick commented May 5, 2017

cc @srowen @jkbradley @sethah

@MLnick
Copy link
Contributor Author

MLnick commented May 8, 2017

Merged to master/branch-2.2

asfgit pushed a commit that referenced this pull request May 8, 2017
… cases

Existing test cases for `recommendForAllX` methods (added in [SPARK-19535](https://issues.apache.org/jira/browse/SPARK-19535)) test `k < num items` and `k = num items`. Technically we should also test that `k > num items` returns the same results as `k = num items`.

## How was this patch tested?

Updated existing unit tests.

Author: Nick Pentreath <[email protected]>

Closes #17860 from MLnick/SPARK-20596-als-rec-tests.

(cherry picked from commit 58518d0)
Signed-off-by: Nick Pentreath <[email protected]>
@asfgit asfgit closed this in 58518d0 May 8, 2017
liyichao pushed a commit to liyichao/spark that referenced this pull request May 24, 2017
… cases

Existing test cases for `recommendForAllX` methods (added in [SPARK-19535](https://issues.apache.org/jira/browse/SPARK-19535)) test `k < num items` and `k = num items`. Technically we should also test that `k > num items` returns the same results as `k = num items`.

## How was this patch tested?

Updated existing unit tests.

Author: Nick Pentreath <[email protected]>

Closes apache#17860 from MLnick/SPARK-20596-als-rec-tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants