HyukjinKwon commented on a change in pull request #21828: Update regression.py
URL: https://github.com/apache/spark/pull/21828#discussion_r321968743
 
 

 ##########
 File path: python/pyspark/ml/regression.py
 ##########
 @@ -1116,7 +1116,7 @@ def setParams(self, featuresCol="features", 
labelCol="label", predictionCol="pre
                   maxDepth=5, maxBins=32, minInstancesPerNode=1, 
minInfoGain=0.0,
                   maxMemoryInMB=256, cacheNodeIds=False, subsamplingRate=1.0,
                   checkpointInterval=10, lossType="squared", maxIter=20, 
stepSize=0.1, seed=None,
-                  impuriy="variance", featureSubsetStrategy="all"):
+                  impurity="variance", featureSubsetStrategy="all"):
 
 Review comment:
   Can you open a PR with explaining what happens before after the change as 
you described?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to