/** * This constructor allows for ROC to be calculated in addition to the standard evaluation metrics, when the * rocBinarySteps arg is non-null. See {@link ROCBinary} for more details * * @param size Number of outputs * @param rocBinarySteps Constructor arg for {@link ROCBinary#ROCBinary(int)} */ public EvaluationBinary(int size, Integer rocBinarySteps) { countTruePositive = new int[size]; countFalsePositive = new int[size]; countTrueNegative = new int[size]; countFalseNegative = new int[size]; if (rocBinarySteps != null) { rocBinary = new ROCBinary(rocBinarySteps); } }