Package dk.alexandra.fresco.stat.mlp
Class Predict
java.lang.Object
dk.alexandra.fresco.stat.mlp.Predict
- All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.framework.value.SInt,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
public class Predict extends Object implements dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.framework.value.SInt,dk.alexandra.fresco.framework.builder.numeric.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 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>
-