-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-4604][MLLIB] make MatrixFactorizationModel public #3459
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
Conversation
Test build #23845 has started for PR 3459 at commit
|
Test build #23845 has finished for PR 3459 at commit
|
Test PASSed. |
@@ -28,13 +28,16 @@ import org.apache.spark.rdd.RDD | |||
/** | |||
* Model representing the result of matrix factorization. | |||
* | |||
* NB: If you create the model directly using constructor, please be aware that fast prediction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "NB" mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NB = "Nota Bene", just "note well"
Test build #23855 has started for PR 3459 at commit
|
|
||
import org.apache.spark.mllib.util.MLlibTestSparkContext | ||
import org.apache.spark.rdd.RDD | ||
import org.scalatest.FunSuite |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Organize imports
@mengxr Except for the imports, LGTM |
Test build #23860 has started for PR 3459 at commit
|
Test build #23855 has finished for PR 3459 at commit
|
Test PASSed. |
Test build #23860 has finished for PR 3459 at commit
|
Test PASSed. |
@jkbradley Thanks! I've merged this into master and branch-1.2. |
User could construct an MF model directly. I added a note about the performance. Author: Xiangrui Meng <[email protected]> Closes apache#3459 from mengxr/SPARK-4604 and squashes the following commits: f64bcd3 [Xiangrui Meng] organize imports ed08214 [Xiangrui Meng] check preconditions and unit tests a624c12 [Xiangrui Meng] make MatrixFactorizationModel public (cherry picked from commit b5fb141) Signed-off-by: Xiangrui Meng <[email protected]>
User could construct an MF model directly. I added a note about the performance. Author: Xiangrui Meng <[email protected]> Closes apache#3459 from mengxr/SPARK-4604 and squashes the following commits: f64bcd3 [Xiangrui Meng] organize imports ed08214 [Xiangrui Meng] check preconditions and unit tests a624c12 [Xiangrui Meng] make MatrixFactorizationModel public (cherry picked from commit b5fb141) Signed-off-by: Xiangrui Meng <[email protected]>
We reverted #3459 in branch-1.2 due to missing `import o.a.s.SparkContext._`, which is no longer needed in master (#3262). This PR adds #3459 back to branch-1.2 with correct imports. Github is out-of-sync now. The real changes are the last two commits. Author: Xiangrui Meng <[email protected]> Closes #3473 from mengxr/SPARK-4604-1.2 and squashes the following commits: a7638a5 [Xiangrui Meng] add import o.a.s.SparkContext._ for v1.2 b749000 [Xiangrui Meng] [SPARK-4604][MLLIB] make MatrixFactorizationModel public
User could construct an MF model directly. I added a note about the performance.