aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Karau <holden@us.ibm.com>2016-05-05 10:52:25 +0100
committerSean Owen <sowen@cloudera.com>2016-05-05 10:52:25 +0100
commit4c0d827cfc30243893b0f6c0b496e2e0c866cb54 (patch)
treef20d53fdf96bb5a02842a75f0d7a96672f2de4e7
parentb7fdc23ccc5967de5799d8cf6f14289e71f29a1e (diff)
downloadspark-4c0d827cfc30243893b0f6c0b496e2e0c866cb54.tar.gz
spark-4c0d827cfc30243893b0f6c0b496e2e0c866cb54.tar.bz2
spark-4c0d827cfc30243893b0f6c0b496e2e0c866cb54.zip
[SPARK-15106][PYSPARK][ML] Add PySpark package doc for ML component & remove "BETA"
## What changes were proposed in this pull request? Copy the package documentation from Scala/Java to Python for ML package and remove beta tags. Not super sure if we want to keep the BETA tag but since we are making it the default it seems like probably the time to remove it (happy to put it back in if we want to keep it BETA). ## How was this patch tested? Python documentation built locally as HTML and text and verified output. Author: Holden Karau <holden@us.ibm.com> Closes #12883 from holdenk/SPARK-15106-add-pyspark-package-doc-for-ml.
-rw-r--r--mllib/src/main/scala/org/apache/spark/ml/package-info.java2
-rw-r--r--mllib/src/main/scala/org/apache/spark/ml/package.scala2
-rw-r--r--python/pyspark/ml/__init__.py4
3 files changed, 6 insertions, 2 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/package-info.java b/mllib/src/main/scala/org/apache/spark/ml/package-info.java
index 87f4223964..9a40f5dd69 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/package-info.java
+++ b/mllib/src/main/scala/org/apache/spark/ml/package-info.java
@@ -16,7 +16,7 @@
*/
/**
- * Spark ML is a BETA component that adds a new set of machine learning APIs to let users quickly
+ * Spark ML is a component that adds a new set of machine learning APIs to let users quickly
* assemble and configure practical machine learning pipelines.
*/
@Experimental
diff --git a/mllib/src/main/scala/org/apache/spark/ml/package.scala b/mllib/src/main/scala/org/apache/spark/ml/package.scala
index c589d06d9f..5cc328b4a9 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/package.scala
+++ b/mllib/src/main/scala/org/apache/spark/ml/package.scala
@@ -18,7 +18,7 @@
package org.apache.spark
/**
- * Spark ML is a BETA component that adds a new set of machine learning APIs to let users quickly
+ * Spark ML is a component that adds a new set of machine learning APIs to let users quickly
* assemble and configure practical machine learning pipelines.
*
* @groupname param Parameters
diff --git a/python/pyspark/ml/__init__.py b/python/pyspark/ml/__init__.py
index 25cfac02f3..05f3be5f0d 100644
--- a/python/pyspark/ml/__init__.py
+++ b/python/pyspark/ml/__init__.py
@@ -15,6 +15,10 @@
# limitations under the License.
#
+"""
+Spark ML is a component that adds a new set of machine learning APIs to let users quickly
+assemble and configure practical machine learning pipelines.
+"""
from pyspark.ml.base import Estimator, Model, Transformer
from pyspark.ml.pipeline import Pipeline, PipelineModel