Skip to content

Conversation

@zlpmichelle
Copy link
Contributor

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.

@zlpmichelle zlpmichelle changed the title [SPARK-16241] [ML] model loading backward compatibility for ml NaiveBayes #16241 [SPARK-16241] [ML] model loading backward compatibility for ml NaiveBayes Jun 28, 2016
@hhbyyh
Copy link
Contributor

hhbyyh commented Jun 28, 2016

LGTM.

@zlpmichelle
Copy link
Contributor Author

Thanks @hhbyyh @AmplabJenkins!

@yanboliang
Copy link
Contributor

Jenkins, test this please.

@mengxr
Copy link
Contributor

mengxr commented Jun 29, 2016

ok to test

@SparkQA
Copy link

SparkQA commented Jun 29, 2016

Test build #61440 has finished for PR 13940 at commit c957730.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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}
Copy link
Contributor

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}

@zlpmichelle
Copy link
Contributor Author

Fixed it. Thanks @yanboliang for your nice review.

@SparkQA
Copy link

SparkQA commented Jun 29, 2016

Test build #61458 has finished for PR 13940 at commit ce83929.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zlpmichelle
Copy link
Contributor Author

The patch passed all tests. Thanks very much @mengxr !

@yanboliang
Copy link
Contributor

LGTM, merged into master and branch-2.0. Thanks!

asfgit pushed a commit that referenced this pull request Jun 30, 2016
## 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]>
@asfgit asfgit closed this in b30a2dc Jun 30, 2016
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.

5 participants