Dears,

I'm trying to set the parameter 'minInstancesPerNode', it sounds like it is
not working :

model = RandomForest.trainRegressor(trainingData,
categoricalFeaturesInfo={},numTrees=2500,
featureSubsetStrategy="sqrt",impurity='variance',minInstancesPerNode=1000)

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

TypeError: trainRegressor() got an unexpected keyword argument
'minInstancesPerNode'

Thanks for your help

Christopher Bourez
06 17 17 50 60

Reply via email to