Package dk.alexandra.fresco.stat.mlp
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 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>
-