diff options
author | christopher snow <chsnow123@gmail.com> | 2017-03-21 13:23:59 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2017-03-21 13:23:59 +0000 |
commit | 7620aed828d8baefc425b54684a83c81f1507b02 (patch) | |
tree | 728c706263ff571e3691c8a3569841e35f495bde /docs/mllib-collaborative-filtering.md | |
parent | d2dcd6792f4cea39e12945ad8c4cda5d8d034de4 (diff) | |
download | spark-7620aed828d8baefc425b54684a83c81f1507b02.tar.gz spark-7620aed828d8baefc425b54684a83c81f1507b02.tar.bz2 spark-7620aed828d8baefc425b54684a83c81f1507b02.zip |
[SPARK-20011][ML][DOCS] Clarify documentation for ALS 'rank' parameter
## What changes were proposed in this pull request?
API documentation and collaborative filtering documentation page changes to clarify inconsistent description of ALS rank parameter.
- [DOCS] was previously: "rank is the number of latent factors in the model."
- [API] was previously: "rank - number of features to use"
This change describes rank in both places consistently as:
- "Number of features to use (also referred to as the number of latent factors)"
Author: Chris Snow <chris.snowuk.ibm.com>
Author: christopher snow <chsnow123@gmail.com>
Closes #17345 from snowch/SPARK-20011.
Diffstat (limited to 'docs/mllib-collaborative-filtering.md')
-rw-r--r-- | docs/mllib-collaborative-filtering.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/mllib-collaborative-filtering.md b/docs/mllib-collaborative-filtering.md index 0f891a09a6..d1bb6d69f1 100644 --- a/docs/mllib-collaborative-filtering.md +++ b/docs/mllib-collaborative-filtering.md @@ -20,7 +20,7 @@ algorithm to learn these latent factors. The implementation in `spark.mllib` has following parameters: * *numBlocks* is the number of blocks used to parallelize computation (set to -1 to auto-configure). -* *rank* is the number of latent factors in the model. +* *rank* is the number of features to use (also referred to as the number of latent factors). * *iterations* is the number of iterations of ALS to run. ALS typically converges to a reasonable solution in 20 iterations or less. * *lambda* specifies the regularization parameter in ALS. |