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 Details

  • Method Details

    • buildComputation

      public DRes<SInt> buildComputation​(ProtocolBuilderNumeric builder)
      Specified by:
      buildComputation in interface Computation<SInt,​ProtocolBuilderNumeric>