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

Method H

JSAT/src/jsat/classifiers/boosting/EmphasisBoost.java:222–227  ·  view source on GitHub ↗
(Classifier weak, DataPoint dp )

Source from the content-addressed store, hash-verified

220 }
221
222 private double H(Classifier weak, DataPoint dp )
223 {
224 CategoricalResults catResult = weak.classify(dp);
225
226 return catResult.getProb(1)*2-1;
227 }
228
229 @Override
230 public void trainC(ClassificationDataSet dataSet, ExecutorService threadPool)

Callers 2

getScoreMethod · 0.95
trainCMethod · 0.95

Calls 2

getProbMethod · 0.95
classifyMethod · 0.65

Tested by

no test coverage detected