Class Predict

Object
Predict
All Implemented Interfaces:
Computation<SInt,​ProtocolBuilderNumeric>

public class Predict
extends Object
implements Computation<SInt,​ProtocolBuilderNumeric>
Assuming that the given neural network has n dimensional output, this function applies the network to the given input and finds the index of the output i with 0 ≤ i < n containing the largest number.
  • Constructor Details

  • Method Details

    • buildComputation

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