Skip to content

Commit

Permalink
Set default max tree depth to 5, should be much more appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Mar 4, 2015
1 parent 1213605 commit adc48ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class TreeBuilder<T extends ClassifierInstance> implements Predicti
public static final Serializable MISSING_VALUE = "%missingVALUE%83257";
private static final int HARD_MINIMUM_INSTANCES_PER_CATEGORICAL_VALUE = 10;
private Scorer scorer;
private int maxDepth = Integer.MAX_VALUE;
private int maxDepth = 5;
private double ignoreAttributeAtNodeProbability = 0.0;
private double minimumScore = 0.00000000000001;
private int minCategoricalAttributeValueOccurances = 0;
Expand Down

0 comments on commit adc48ba

Please sign in to comment.