title: How to specify minInstancesPerNode parameter for Random Forest?
body: <p>It doesn't look like it's possible to specify <code>minInstancesPerNode</code> for Random Forest in pyspark. I cannot see it in the scala code, but it's mentioned in the <a href="https://spark.apache.org/docs/2.1.0/api/R/spark.randomForest.html" rel="nofollow noreferrer">spark R library</a> and in the <a href="https://spark.apache.org/docs/1.2.0/mllib-decision-tree.html#stopping-criteria" rel="nofollow noreferrer">documentation</a>. It says:</p>
  
  <blockquote>
    <p>minInstancesPerNode: For a node to be split further, each of its
    children must receive at least this number of training instances. This
    is commonly used with RandomForest since those are often trained
    deeper than individual trees.</p>
  </blockquote>
  
  <p>Is it possible to use this parameter for Random Forest in spark (pyspark specificaly)?</p>