@Test public void testConstructor(){ assertNotNull("Threshold function should be built after creating new instance.", function.getFunctionParameters()); }
protected double[] getFunctionParameters() { return Arrays.copyOf(parameters, parameters.length); }
ThresholdFunction implements Serializable { protected double[] getFunctionParameters() { return Arrays.copyOf(parameters, parameters.length); } }
ThresholdFunction implements Serializable { protected double[] getFunctionParameters() { return Arrays.copyOf(parameters, parameters.length); } ThresholdFunction(final double[][] idealLabels, final double[][] modelOutLabels); }
ThresholdFunction implements Serializable { protected double[] getFunctionParameters() { return Arrays.copyOf(parameters, parameters.length); } ThresholdFunction(final double[][] idealLabels, final double[][] modelOutLabels); double computeThreshold(final double[] labelsConfidences); void build(final double[][] idealLabels, final double[][] modelOutLabels); }
ThresholdFunction implements Serializable { protected double[] getFunctionParameters() { return Arrays.copyOf(parameters, parameters.length); } ThresholdFunction(final double[][] idealLabels, final double[][] modelOutLabels); double computeThreshold(final double[] labelsConfidences); void build(final double[][] idealLabels, final double[][] modelOutLabels);  }