@keyword_only
@since('1.4.0')
def setParams(self, featuresCol='features', labelCol='label', predictionCol='prediction', maxDepth=5, maxBins=32, minInstancesPerNode=1, minInfoGain=0.0, maxMemoryInMB=256, cacheNodeIds=False, checkpointInterval=10, impurity='variance', subsamplingRate=1.0, seed=None, numTrees=20, featureSubsetStrategy='auto', leafCol='', minWeightFractionPerNode=0.0, weightCol=None):
    '\n        setParams(self, featuresCol="features", labelCol="label", predictionCol="prediction",                   maxDepth=5, maxBins=32, minInstancesPerNode=1, minInfoGain=0.0,                   maxMemoryInMB=256, cacheNodeIds=False, checkpointInterval=10,                   impurity="variance", subsamplingRate=1.0, seed=None, numTrees=20,                   featureSubsetStrategy="auto", leafCol="", minWeightFractionPerNode=0.0,                   weightCol=None)\n        Sets params for linear regression.\n        '
    kwargs = self._input_kwargs
    return self._set(**kwargs)
setParams(self, featuresCol="features", labelCol="label", predictionCol="prediction",                   maxDepth=5, maxBins=32, minInstancesPerNode=1, minInfoGain=0.0,                   maxMemoryInMB=256, cacheNodeIds=False, checkpointInterval=10,                   impurity="variance", subsamplingRate=1.0, seed=None, numTrees=20,                   featureSubsetStrategy="auto", leafCol="", minWeightFractionPerNode=0.0,                   weightCol=None)
Sets params for linear regression.
@keyword_only
@since('1.4.0')
def setParams(self, featuresCol='features', labelCol='label', predictionCol='prediction', maxDepth=5, maxBins=32, minInstancesPerNode=1, minInfoGain=0.0, maxMemoryInMB=256, cacheNodeIds=False, checkpointInterval=10, impurity='variance', subsamplingRate=1.0, seed=None, numTrees=20, featureSubsetStrategy='auto', leafCol=, minWeightFractionPerNode=0.0, weightCol=None):
    '\n        setParams(self, featuresCol="features", labelCol="label", predictionCol="prediction",                   maxDepth=5, maxBins=32, minInstancesPerNode=1, minInfoGain=0.0,                   maxMemoryInMB=256, cacheNodeIds=False, checkpointInterval=10,                   impurity="variance", subsamplingRate=1.0, seed=None, numTrees=20,                   featureSubsetStrategy="auto", leafCol=, minWeightFractionPerNode=0.0,                   weightCol=None)\n        Sets params for linear regression.\n        '
    kwargs = self._input_kwargs
    return self._set(**kwargs)