Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21828#discussion_r203994108 --- Diff: 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"): --- End diff -- I think this can't just changed like this since it's going to break other users codes.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org