Skip to content

[SPARK-20596][ML][TEST] Consolidate and improve ALS recommendAll test cases#17860

Closed
MLnick wants to merge 1 commit into
apache:masterfrom
MLnick:SPARK-20596-als-rec-tests
Closed

[SPARK-20596][ML][TEST] Consolidate and improve ALS recommendAll test cases#17860
MLnick wants to merge 1 commit into
apache:masterfrom
MLnick:SPARK-20596-als-rec-tests

Conversation

@MLnick

@MLnick MLnick commented May 4, 2017

Copy link
Copy Markdown
Contributor

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

SparkQA commented May 4, 2017

Copy link
Copy Markdown

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

MLnick commented May 5, 2017

Copy link
Copy Markdown
Contributor Author

cc @srowen @jkbradley @sethah

@MLnick

MLnick commented May 8, 2017

Copy link
Copy Markdown
Contributor Author

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
lycplus pushed a commit to lycplus/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

Development

Successfully merging this pull request may close these issues.

2 participants