aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/NAMESPACE
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2016-04-30 00:45:44 -0700
committerXiangrui Meng <meng@databricks.com>2016-04-30 00:45:44 -0700
commitb3ea579314945dc1fcb4a260fbc7af8479d139f2 (patch)
tree273ca1fb218ede87bb6a09d3c8c32598e3e937d7 /R/pkg/NAMESPACE
parent7fbe1bb24d6c5657da133135419fb29a609e32c7 (diff)
downloadspark-b3ea579314945dc1fcb4a260fbc7af8479d139f2.tar.gz
spark-b3ea579314945dc1fcb4a260fbc7af8479d139f2.tar.bz2
spark-b3ea579314945dc1fcb4a260fbc7af8479d139f2.zip
[SPARK-14831][.2][ML][R] rename ml.save/ml.load to write.ml/read.ml
## What changes were proposed in this pull request? Continue the work of #12789 to rename ml.asve/ml.load to write.ml/read.ml, which are more consistent with read.df/write.df and other methods in SparkR. I didn't rename `data` to `df` because we still use `predict` for prediction, which uses `newData` to match the signature in R. ## How was this patch tested? Existing unit tests. cc: yanboliang thunterdb Author: Xiangrui Meng <meng@databricks.com> Closes #12807 from mengxr/SPARK-14831.
Diffstat (limited to 'R/pkg/NAMESPACE')
-rw-r--r--R/pkg/NAMESPACE4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/pkg/NAMESPACE b/R/pkg/NAMESPACE
index d2aebb3c85..73f7c595f4 100644
--- a/R/pkg/NAMESPACE
+++ b/R/pkg/NAMESPACE
@@ -110,7 +110,7 @@ exportMethods("arrange",
"write.json",
"write.parquet",
"write.text",
- "ml.save")
+ "write.ml")
exportClasses("Column")
@@ -305,7 +305,7 @@ export("as.DataFrame",
"tables",
"uncacheTable",
"print.summary.GeneralizedLinearRegressionModel",
- "ml.load")
+ "read.ml")
export("structField",
"structField.jobj",