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

Method trainC

JSAT/src/jsat/classifiers/trees/ERTrees.java:254–265  ·  view source on GitHub ↗
(ClassificationDataSet dataSet, ExecutorService threadPool)

Source from the content-addressed store, hash-verified

252 }
253
254 @Override
255 public void trainC(ClassificationDataSet dataSet, ExecutorService threadPool)
256 {
257 if(useDefaultSelectionCount)
258 baseTree.setSelectionCount((int)max(round(sqrt(dataSet.getNumFeatures())), 1));
259 if(useDefaultStopSize)
260 baseTree.setStopSize(2);
261
262 predicting = dataSet.getPredicting();
263
264 doTraining(threadPool, dataSet);
265 }
266
267 @Override
268 public void trainC(ClassificationDataSet dataSet)

Callers 1

testCloneMethod · 0.95

Calls 6

doTrainingMethod · 0.95
setSelectionCountMethod · 0.80
getNumFeaturesMethod · 0.80
setStopSizeMethod · 0.80
getPredictingMethod · 0.80
maxMethod · 0.45

Tested by 1

testCloneMethod · 0.76