MCPcopy Create free account
hub / github.com/LASER-UMASS/Themis / expectedCosts

Method expectedCosts

subjectSystems/C,D/classifiers/CostMatrix.java:198–210  ·  view source on GitHub ↗

Calculates the expected misclassification cost for each possible class value, given class probability estimates. @param classProbs the class probability estimates. @return the expected costs. @exception Exception if the wrong number of class probabilities is supplied.

(double[] classProbs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

buildClassifierMethod · 0.45

Calls 2

sizeMethod · 0.95
getElementMethod · 0.45

Tested by

no test coverage detected