MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / setStopSize

Method setStopSize

JSAT/src/jsat/classifiers/trees/ExtraTree.java:102–107  ·  view source on GitHub ↗

Sets the stopping size for tree growth. When a node has less than or equal to stopSize data points to train from, it terminates and produces a leaf node. @param stopSize the size of the testing set to refuse to split

(int stopSize)

Source from the content-addressed store, hash-verified

100 * @param stopSize the size of the testing set to refuse to split
101 */
102 public void setStopSize(int stopSize)
103 {
104 if(stopSize <= 0)
105 throw new ArithmeticException("The stopping size must be a positive value");
106 this.stopSize = stopSize;
107 }
108
109 /**
110 * Returns the stopping size for tree growth

Callers 2

trainCMethod · 0.80
trainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected