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-20596][ML][TEST] Consolidate and improve ALS recommendAll test cases #17860

Closed
wants to merge 1 commit into from

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 <nickp@za.ibm.com>

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

(cherry picked from commit 58518d0)
Signed-off-by: Nick Pentreath <nickp@za.ibm.com>
@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 <nickp@za.ibm.com>

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
2 participants