spark-instrumented-optimizer/R/pkg/inst/tests/testthat
Yanbo Liang 9cb3ba1013 [SPARK-14312][ML][SPARKR] NaiveBayes model persistence in SparkR
## What changes were proposed in this pull request?
SparkR ```NaiveBayesModel``` supports ```save/load``` by the following API:
```
df <- createDataFrame(sqlContext, infert)
model <- naiveBayes(education ~ ., df, laplace = 0)
ml.save(model, path)
model2 <- ml.load(path)
```

## How was this patch tested?
Add unit tests.

cc mengxr

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #12573 from yanboliang/spark-14312.
2016-04-25 14:08:41 -07:00
..
jarTest.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
packageInAJarTest.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_binary_function.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_binaryFile.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_broadcast.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_client.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_context.R [SPARK-14780] [R] Add setLogLevel to SparkR 2016-04-21 16:09:50 -07:00
test_includeJAR.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_includePackage.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_mllib.R [SPARK-14312][ML][SPARKR] NaiveBayes model persistence in SparkR 2016-04-25 14:08:41 -07:00
test_parallelize_collect.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_rdd.R [SPARK-12792] [SPARKR] Refactor RRDD to support R UDF. 2016-03-28 21:51:02 -07:00
test_Serde.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_shuffle.R [SPARK-12327][SPARKR] fix code for lintr warning for commented code 2016-01-03 20:53:35 +05:30
test_sparkSQL.R [SPARK-14869][SQL] Don't mask exceptions in ResolveRelations 2016-04-23 12:49:36 -07:00
test_take.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_textFile.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_utils.R [SPARK-12224][SPARKR] R support for JDBC source 2016-04-19 15:59:47 -07:00