-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-16241] [ML] model loading backward compatibility for ml NaiveBayes #13940
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
|
LGTM. |
|
Thanks @hhbyyh @AmplabJenkins! |
|
Jenkins, test this please. |
|
ok to test |
|
Test build #61440 has finished for PR 13940 at commit
|
| import org.apache.spark.mllib.util.MLUtils | ||
| import org.apache.spark.rdd.RDD | ||
| import org.apache.spark.sql.Dataset | ||
| import org.apache.spark.sql.{Row, Dataset} |
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.
Notice the import order, it should be import org.apache.spark.sql.{Dataset, Row}
|
Fixed it. Thanks @yanboliang for your nice review. |
|
Test build #61458 has finished for PR 13940 at commit
|
|
The patch passed all tests. Thanks very much @mengxr ! |
|
LGTM, merged into master and branch-2.0. Thanks! |
## What changes were proposed in this pull request? model loading backward compatibility for ml NaiveBayes ## How was this patch tested? existing ut and manual test for loading models saved by Spark 1.6. Author: zlpmichelle <[email protected]> Closes #13940 from zlpmichelle/naivebayes. (cherry picked from commit b30a2dc) Signed-off-by: Yanbo Liang <[email protected]>
What changes were proposed in this pull request?
model loading backward compatibility for ml NaiveBayes
How was this patch tested?
existing ut and manual test for loading models saved by Spark 1.6.