Github user yanboliang commented on a diff in the pull request:
https://github.com/apache/spark/pull/19172#discussion_r137929080
--- Diff: python/pyspark/ml/classification.py ---
@@ -1442,11 +1444,13 @@ def __init__(self, featuresCol="features",
labelCol="label", predictionCol="pred
@since("1.6.0")
def setParams(self, featuresCol="features", labelCol="label",
predictionCol="prediction",
maxIter=100, tol=1e-6, seed=None, layers=None,
blockSize=128, stepSize=0.03,
- solver="l-bfgs", initialWeights=None):
+ solver="l-bfgs", initialWeights=None,
probabilityCol="probability",
+ rawPredicitionCol="rawPrediction"):
"""
setParams(self, featuresCol="features", labelCol="label",
predictionCol="prediction", \
maxIter=100, tol=1e-6, seed=None, layers=None,
blockSize=128, stepSize=0.03, \
- solver="l-bfgs", initialWeights=None)
+ solver="l-bfgs", initialWeights=None,
probabilityCol="probability", \
+ rawPredicitionCol="rawPrediction"):
--- End diff --
Align.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]