package hex.schemas;

import hex.tree.drf.DRF;
import hex.tree.drf.DRFModel.DRFParameters;
import water.api.API;
import water.api.SupervisedModelParametersSchema;
import hex.schemas.SharedTreeV2;                        // Yes, this is needed.  Compiler bug.
import hex.schemas.SharedTreeV2.SharedTreeParametersV2; // Yes, this is needed.  Compiler bug.

public class DRFV2 extends SharedTreeV2<DRF,DRFV2,DRFV2.DRFParametersV2> {

  public static final class DRFParametersV2 extends SharedTreeParametersV2<DRFParameters, DRFParametersV2> {
    static public String[] own_fields = new String[] {
        "mtries",
        "sample_rate",
        "do_grpsplit",
        "build_tree_one_node"
    };

    // Input fields
    @API(help = "Columns to randomly select at each level, or -1 for sqrt(#cols)")
    public int mtries;

    @API(help = "Sample rate, from 0. to 1.0")
    public float sample_rate;

    @API(help = "Check non-contiguous group splits for categorical predictors")
    public boolean do_grpsplit;

    @API(help="Run on one node only; no network overhead but fewer cpus used.  Suitable for small datasets.")
    public boolean build_tree_one_node;
  }
}

@@ -632,31 +632,8 @@
 e%22,%0A
-        %22do_grpsplit%22,%0A
     
@@ -703,17 +703,27 @@
 help = %22
-C
+Number of c
 olumns t
@@ -885,121 +885,8 @@
 e;%0A%0A
-    @API(help = %22Check non-contiguous group splits for categorical predictors%22)%0A    public boolean do_grpsplit;%0A%0A
     

Fix DRFParametersV2, remove unused do_grpsplit argument.