aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/mllib/classification.py
diff options
context:
space:
mode:
authorlewuathe <lewuathe@me.com>2014-12-17 17:31:24 -0800
committerXiangrui Meng <meng@databricks.com>2014-12-17 17:31:24 -0800
commit3cd516191baadf8496ccdae499771020e89acd7e (patch)
tree879897b87f1874368f317b6586ff5651ec8e89a0 /python/pyspark/mllib/classification.py
parentca1260891adb87f4985d3cfc515b4756644630d0 (diff)
downloadspark-3cd516191baadf8496ccdae499771020e89acd7e.tar.gz
spark-3cd516191baadf8496ccdae499771020e89acd7e.tar.bz2
spark-3cd516191baadf8496ccdae499771020e89acd7e.zip
[SPARK-4822] Use sphinx tags for Python doc annotations
Modify python annotations for sphinx. There is no change to build process from. https://github.com/apache/spark/blob/master/docs/README.md Author: lewuathe <lewuathe@me.com> Closes #3685 from Lewuathe/sphinx-tag-for-pydoc and squashes the following commits: 88a0fd9 [lewuathe] [SPARK-4822] Fix DevelopApi and WARN tags 3d7a398 [lewuathe] [SPARK-4822] Use sphinx tags for Python doc annotations
Diffstat (limited to 'python/pyspark/mllib/classification.py')
-rw-r--r--python/pyspark/mllib/classification.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pyspark/mllib/classification.py b/python/pyspark/mllib/classification.py
index f14d0ed11c..00e2e76711 100644
--- a/python/pyspark/mllib/classification.py
+++ b/python/pyspark/mllib/classification.py
@@ -41,7 +41,7 @@ class LinearBinaryClassificationModel(LinearModel):
def setThreshold(self, value):
"""
- :: Experimental ::
+ .. note:: Experimental
Sets the threshold that separates positive predictions from negative
predictions. An example with prediction score greater than or equal
@@ -51,7 +51,7 @@ class LinearBinaryClassificationModel(LinearModel):
def clearThreshold(self):
"""
- :: Experimental ::
+ .. note:: Experimental
Clears the threshold so that `predict` will output raw prediction scores.
"""