Class Accuracy
Object
Accuracy
- All Implemented Interfaces:
Computation<SInt,ProtocolBuilderNumeric>
public class Accuracy extends Object implements Computation<SInt,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 DRes<SInt>
buildComputation(ProtocolBuilderNumeric builder)
-
Constructor Details
-
Method Details
-
buildComputation
public DRes<SInt> buildComputation(ProtocolBuilderNumeric builder)- Specified by:
buildComputation
in interfaceComputation<SInt,ProtocolBuilderNumeric>
-