Class Accuracy
java.lang.Object
dk.alexandra.fresco.stat.mlp.evaluation.Accuracy
- All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.framework.value.SInt,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
public class Accuracy extends Object implements dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.framework.value.SInt,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Return the number of correct predictions in the given data set. The output of the given neural
network is computed as the entry in the output vector with the highest value.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
-
Constructor Details
-
Method Details
-
buildComputation
public dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt> buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)- Specified by:
buildComputationin interfacedk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.framework.value.SInt,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
-